diff --git a/app/Actions/Entries/GetEntrySeatingResult.php b/app/Actions/Entries/GetEntrySeatingResult.php deleted file mode 100644 index 137f08a..0000000 --- a/app/Actions/Entries/GetEntrySeatingResult.php +++ /dev/null @@ -1,44 +0,0 @@ -getResult($entry); - } - - public function getResult(Entry $entry): string - { - if ($entry->hasFlag('failed_prelim')) { - return 'Failed Prelim'; - } - - if ($entry->hasFlag('no_show')) { - return 'No Show'; - } - - if ($entry->hasFlag('declined')) { - return 'Declined'; - } - - if ($entry->hasFlag('failed_prelim')) { - return 'Did not pass prelim'; - } - - $seat = Seat::where('entry_id', $entry->id)->first(); - if ($seat) { - return $seat->ensemble->name.' '.$seat->seat; - } - - return 'Entry not seated'; - } -}