From 5af85ae58936a09170c799496b7e9c9d5c1663f5 Mon Sep 17 00:00:00 2001 From: Matt Young Date: Thu, 31 Oct 2024 19:34:03 -0500 Subject: [PATCH] Show failed prelim result on user dashboard Addresses #45 --- app/Actions/Entries/GetEntrySeatingResult.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Actions/Entries/GetEntrySeatingResult.php b/app/Actions/Entries/GetEntrySeatingResult.php index 054c06f..137f08a 100644 --- a/app/Actions/Entries/GetEntrySeatingResult.php +++ b/app/Actions/Entries/GetEntrySeatingResult.php @@ -18,6 +18,10 @@ class GetEntrySeatingResult public function getResult(Entry $entry): string { + if ($entry->hasFlag('failed_prelim')) { + return 'Failed Prelim'; + } + if ($entry->hasFlag('no_show')) { return 'No Show'; }