diff --git a/app/Http/Controllers/Tabulation/SeatAuditionFormController.php b/app/Http/Controllers/Tabulation/SeatAuditionFormController.php index e2c5b4e..e2ad8d6 100644 --- a/app/Http/Controllers/Tabulation/SeatAuditionFormController.php +++ b/app/Http/Controllers/Tabulation/SeatAuditionFormController.php @@ -13,6 +13,7 @@ use App\Services\AuditionService; use App\Services\DoublerService; use App\Services\EntryService; use Illuminate\Http\Request; +use Illuminate\Support\Facades\Cache; use function redirect; @@ -62,8 +63,11 @@ class SeatAuditionFormController extends Controller if ($entry->scoreSheets_count == 0 && ! $entry->hasFlag('no_show')) { $entry->addFlag('no_show'); } + Cache::forget('entryScore-'.$entry->id.'-seating'); + Cache::forget('entryScore-'.$entry->id.'-advancement'); } - + Cache::forget('audition'.$audition->id.'seating'); + Cache::forget('audition'.$audition->id.'advancement'); } $entryData = []; @@ -71,6 +75,7 @@ class SeatAuditionFormController extends Controller // Deal with mass decline doubler request if ($request->input('decline-below')) { + Cache::forget('audition'.$audition->id.'seating'); $changes_made = false; foreach ($entries as $entry) { $doublerData = $this->doublerService->entryDoublerData($entry);