Remove depricated code.
This commit is contained in:
parent
57780846e3
commit
e14b678c74
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue