@php $page_name = 'Company Calculation'; @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.footer')