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