diff --git a/_bulk_print_badges.php b/_bulk_print_badges.php index 49c20ac..5beded7 100644 --- a/_bulk_print_badges.php +++ b/_bulk_print_badges.php @@ -53,7 +53,9 @@ class PDF extends tFPDF function generateBadge($person) { $this->AddPage(); - $this->Image('assets/pasted-20260112-081646-4e946aad.png', 0, 0, $this->GetPageWidth(), $this->GetPageHeight()); + if(file_exists('assets/pasted-20260112-081646-4e946aad.png')) { + $this->Image('assets/pasted-20260112-081646-4e946aad.png', 0, 0, $this->GetPageWidth(), $this->GetPageHeight()); + } $this->SetY(20); $this->SetFont('DejaVu', 'B', 12); $this->Cell(0, 6, $person['first_name'] . ' ' . $person['last_name'], 0, 1, 'C'); diff --git a/index.php b/index.php index 4f1dcf2..1795b07 100644 --- a/index.php +++ b/index.php @@ -576,8 +576,124 @@ $status_colors = [ + + + + + +
+ + + + + +