From be621606e22c0b2e6bb0bbcc782c6f08bbfee781 Mon Sep 17 00:00:00 2001 From: Matt Young Date: Wed, 5 Nov 2025 06:55:12 -0600 Subject: [PATCH] Show doublers on cards. --- app/Actions/Print/QuarterPageCards.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Actions/Print/QuarterPageCards.php b/app/Actions/Print/QuarterPageCards.php index 800d4d1..207173f 100644 --- a/app/Actions/Print/QuarterPageCards.php +++ b/app/Actions/Print/QuarterPageCards.php @@ -58,11 +58,15 @@ class QuarterPageCards implements PrintCards $this->pdf->Cell(4.5, .5, $entry->audition->name.' #'.$entry->draw_number); // Fill in student information + $nameLine = $entry->student->full_name(); + if ($entry->student->isDoublerInEvent($entry->audition->event_id)) { + $nameLine .= ' (D)'; + } $this->pdf->SetFont('Arial', '', 10); $xLoc = $this->offset[$this->quadOn][0] + 1; $yLoc = $this->offset[$this->quadOn][1] + 3.1; $this->pdf->setXY($xLoc, $yLoc); - $this->pdf->Cell(4.5, .25, $entry->student->full_name()); + $this->pdf->Cell(4.5, .25, $nameLine); $this->pdf->setXY($xLoc, $yLoc + .25); $this->pdf->Cell(4.5, .25, $entry->student->school->name); $this->pdf->setXY($xLoc, $yLoc + .5);