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);