Edit _bulk_print_badges.php via Editor
This commit is contained in:
parent
6df581c51b
commit
9f1c19bf45
@ -54,17 +54,17 @@ class PDF extends tFPDF
|
||||
function generateBadge($person) {
|
||||
$this->AddPage();
|
||||
$this->Image('assets/pasted-20260112-081646-4e946aad.png', 0, 0, $this->GetPageWidth(), $this->GetPageHeight());
|
||||
$this->SetY(3);
|
||||
$this->SetY(5);
|
||||
$this->SetFont('DejaVu', 'B', 12);
|
||||
$this->Cell(0, 10, $person['first_name'] . ' ' . $person['last_name'], 0, 1, 'C');
|
||||
$this->SetFont('DejaVu', '', 8);
|
||||
$this->Cell(0, 10, $person['company_name'] ?? 'N/A', 1, 1, 'C');
|
||||
$this->SetFont('DejaVu', '', 8);
|
||||
$this->Cell(0, 10, $person['industry'] ?? 'N/A', 1, 1, 'C');
|
||||
$this->Cell(0, 6, $person['first_name'] . ' ' . $person['last_name'], 0, 1, 'C');
|
||||
$this->SetFont('DejaVu', '', 6);
|
||||
$this->Cell(0, 6, $person['company_name'] ?? 'N/A', 1, 1, 'C');
|
||||
$this->SetFont('DejaVu', '', 6);
|
||||
$this->Cell(0, 6, $person['industry'] ?? 'N/A', 1, 1, 'C');
|
||||
|
||||
$this->SetXY(1,1);
|
||||
$this->SetFont('DejaVu', '', 4);
|
||||
$this->Cell(0, 5, $person['bni_group_name'] ?? 'GOŚĆ', 1, 0, 'C');
|
||||
$this->Cell(2, 3, $person['bni_group_name'] ?? 'GOŚĆ', 1, 0, 'C');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user