Remove depricated code.

This commit is contained in:
Matt Young 2025-06-28 09:04:04 -05:00
parent 57780846e3
commit e14b678c74
1 changed files with 0 additions and 25 deletions

View File

@ -2,7 +2,6 @@
namespace App\Http\Controllers\Tabulation;
use App\Actions\Tabulation\GetAuditionSeats;
use App\Actions\Tabulation\RankAuditionEntries;
use App\Exceptions\AuditionAdminException;
use App\Http\Controllers\Controller;
@ -275,28 +274,4 @@ class SeatAuditionFormController extends Controller
return redirect()->route('seating.audition', [$audition]);
}
protected function pickRightPanel(
Audition $audition,
array $seatable
) {
if ($audition->hasFlag('seats_published')) {
$resultsWindow = new GetAuditionSeats;
$rightPanel['view'] = 'tabulation.auditionSeating-show-published-seats';
$rightPanel['data'] = $resultsWindow($audition);
return $rightPanel;
}
if ($seatable['allScored'] == false || $seatable['doublersResolved'] == false) {
$rightPanel['view'] = 'tabulation.auditionSeating-unable-to-seat-card';
$rightPanel['data'] = $seatable;
return $rightPanel;
}
$rightPanel['view'] = 'tabulation.auditionSeating-right-complete-not-published';
$rightPanel['data'] = $this->auditionService->getSeatingLimits($audition);
return $rightPanel;
}
}