@php $page_name = 'Upload All Shift'; @endphp @php $currentDateTime = new DateTime(); $nineThirty = new DateTime('9:30'); // If the current time is less than 9:30 AM, subtract one day if ($currentDateTime < $nineThirty) { $dateToShow = $currentDateTime->modify('-1 day')->format('Y-m-d'); } else { $dateToShow = $currentDateTime->format('Y-m-d'); } @endphp @include('partial.header')
@include('partial.navigation')
@if (session('message'))
{{ session('message') }}
@endif
Upload All Shift
Upload
@include('partial.footer')