@extends('admin.layouts.app') @section ('content') @php $services = []; @endphp

{{__("Tour Booking Calendar")}}

@include('admin.message')
{{--
{{__("Tour Filters")}}
--}}
{{ __("Showing :from - :to of :total Tour(s)",["from"=>$rows->firstItem(),"to"=>$rows->lastItem(),"total"=>$rows->total()]) }}
{{date('M-Y',$current_month)}}
{{__('Tours')}}
@for($i = 1 ; $i <= date('t',$current_month) ; $i++) @php $day = strtotime(date('Y-m-',$current_month).$i) @endphp @endfor
{{date('d',$day)}} {{date('M',$day)}} {{date('Y',$day)}} {{date('D',$day)}}
@foreach($rows as $row) @endforeach
@foreach($rows as $row) @endforeach
@php $bookings = $row->getBookingsInRange(date('Y-m-01',$current_month),date('Y-m-t',$current_month)) @endphp @if(!empty($bookings)) @foreach($bookings as $booking) @php $service = $booking->service; if(!empty($service)){ $service->booking = $booking; $services[] = $service; } @endphp
#{{$booking->id}} - {{$booking->email}}
@endforeach @endif
@for($i = 1 ; $i <= date('t',$current_month) ; $i++) @endfor
 
@foreach($services as $service) @include ($service->checkout_booking_detail_modal_file ?? '',['booking'=>$service->booking]) @endforeach
{{$rows->appends($request->query())->links()}}
@endsection @section('script.head') @endsection @section('script.body') @endsection