Bonus Score Use
#20 Implement bonus scores Bonus score is now included in total scores for seating.
This commit is contained in:
parent
c04dd02405
commit
d1cab82622
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue