From 402cbf8c836ec73a66fdedf1708e41b4207f70c2 Mon Sep 17 00:00:00 2001 From: Matt Young Date: Thu, 6 Nov 2025 07:30:09 -0600 Subject: [PATCH] Show what a student is auditioning for on their cards if advancement audition --- app/Actions/Print/QuarterPageCards.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app/Actions/Print/QuarterPageCards.php b/app/Actions/Print/QuarterPageCards.php index 207173f..7e2db33 100644 --- a/app/Actions/Print/QuarterPageCards.php +++ b/app/Actions/Print/QuarterPageCards.php @@ -73,6 +73,21 @@ class QuarterPageCards implements PrintCards if (! is_null($entry->audition->room_id)) { $this->pdf->Cell(4.5, .25, $entry->audition->room->name); } + if (auditionSetting('advanceTo')) { + $this->pdf->setXY($xLoc, $yLoc - 1); + $auditioningFor = 'Auditioning for: '; + if ($entry->for_seating) { + $auditioningFor .= auditionSetting('auditionAbbreviation'); + $as = true; + } + if ($entry->for_advancement) { + if ($as) { + $auditioningFor .= ' / '; + } + $auditioningFor .= auditionSetting('advanceTo'); + } + $this->pdf->Cell(4.5, .25, $auditioningFor); + } $this->quadOn++; }