diff --git a/resources/views/entries/index.blade.php b/resources/views/entries/index.blade.php index 94c5e8e..2ea66ff 100644 --- a/resources/views/entries/index.blade.php +++ b/resources/views/entries/index.blade.php @@ -1,4 +1,4 @@ -@php use Illuminate\Support\Facades\Auth; @endphp +@php use Carbon\Carbon;use Illuminate\Support\Facades\Auth; @endphp @push('scripts') {{-- Code from https://codepen.io/ryangjchandler/pen/WNQQKeR--}} @@ -33,19 +33,18 @@
+ checked/>
+ checked/>
@else @endif - Save @@ -81,23 +80,27 @@ @if(auditionSetting('advanceTo')) @if($entry->for_seating) -
+
@else -
+
@endif @if($entry->for_advancement) -
+
@else -
+
@@ -106,13 +109,19 @@ @endif - @if( $entry->audition->entry_deadline >= now()) -
+ @php + $currentDate = Carbon::now('America/Chicago'); + $currentDate = $currentDate->format('Y-m-d'); + @endphp + @if( $entry->audition->entry_deadline >= $currentDate) + @csrf @method('DELETE') Delete + >Delete +
@endif