Bugfix
This commit is contained in:
parent
915a006a46
commit
0abd4c3507
|
|
@ -37,4 +37,9 @@ class ScoreSheet extends Model
|
||||||
'audition_id' // Local key on the intermediate model (Entry)
|
'audition_id' // Local key on the intermediate model (Entry)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
public function getSubscore($id)
|
||||||
|
{
|
||||||
|
return $this->subscores[$id]['score'] ?? false;
|
||||||
|
// this function is used at resources/views/tabulation/entry_score_sheet.blade.php
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue