diff --git a/_bulk_print_badges.php b/_bulk_print_badges.php index e3a67c3..2504537 100644 --- a/_bulk_print_badges.php +++ b/_bulk_print_badges.php @@ -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'); } }