Show what a student is auditioning for on their cards if advancement audition
This commit is contained in:
parent
be621606e2
commit
402cbf8c83
|
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue