This commit is contained in:
Matt Young 2024-07-18 00:56:00 -05:00
parent 915a006a46
commit 0abd4c3507
1 changed files with 5 additions and 0 deletions

View File

@ -37,4 +37,9 @@ class ScoreSheet extends Model
'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
}
}