parent
5af85ae589
commit
fb9efa0564
|
|
@ -150,6 +150,10 @@ class AllowForOlympicScoring implements CalculateEntryScore
|
||||||
|
|
||||||
protected function isEntryANoShow(Entry $entry): void
|
protected function isEntryANoShow(Entry $entry): void
|
||||||
{
|
{
|
||||||
|
if ($entry->hasFlag('failed_prelim')) {
|
||||||
|
throw new TabulationException('Failed Prelim');
|
||||||
|
}
|
||||||
|
|
||||||
if ($entry->hasFlag('no_show')) {
|
if ($entry->hasFlag('no_show')) {
|
||||||
throw new TabulationException('No Show');
|
throw new TabulationException('No Show');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -72,12 +72,12 @@ class RankAuditionEntries
|
||||||
$entry->raw_rank = $rawRank;
|
$entry->raw_rank = $rawRank;
|
||||||
// We don't really get a rank for seating if we have certain flags
|
// We don't really get a rank for seating if we have certain flags
|
||||||
if ($mode === 'seating') {
|
if ($mode === 'seating') {
|
||||||
if ($entry->hasFlag('declined')) {
|
if ($entry->hasFlag('failed_prelim')) {
|
||||||
|
$entry->rank = 'Failed Prelim';
|
||||||
|
} elseif ($entry->hasFlag('declined')) {
|
||||||
$entry->rank = 'Declined';
|
$entry->rank = 'Declined';
|
||||||
} elseif ($entry->hasFlag('no_show')) {
|
} elseif ($entry->hasFlag('no_show')) {
|
||||||
$entry->rank = 'No Show';
|
$entry->rank = 'No Show';
|
||||||
} elseif ($entry->hasFlag('failed_prelim')) {
|
|
||||||
$entry->rank = 'Failed Prelim';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -139,6 +139,9 @@ class SeatAuditionFormController extends Controller
|
||||||
if ($entry->hasFlag('no_show')) {
|
if ($entry->hasFlag('no_show')) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if ($entry->hasFlag('failed_prelim')) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue