Auditionadmin 20 - Bonus scores are fully functional #25

Merged
okorpheus merged 16 commits from auditionadmin-20 into master 2024-07-16 08:04:08 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit d1cab82622 - Show all commits

View File

@ -89,6 +89,7 @@ class AllowForOlympicScoring implements CalculateEntryScore
if (! $bonusScoreDefinition) { if (! $bonusScoreDefinition) {
return 0; return 0;
} }
/** @noinspection PhpPossiblePolymorphicInvocationInspection */
$bonusJudges = $bonusScoreDefinition->judges; $bonusJudges = $bonusScoreDefinition->judges;
$bonusScoreSheets = BonusScore::where('entry_id', $entry->id)->get(); $bonusScoreSheets = BonusScore::where('entry_id', $entry->id)->get();
foreach ($bonusScoreSheets as $sheet) { foreach ($bonusScoreSheets as $sheet) {