{{$title}}
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@foreach($bookings as $booking) @php $badgeClass = ''; if ($booking->type == 'one-way') { $badgeClass = 'badge-primary'; } elseif ($booking->type == 'two-way') { $badgeClass = 'badge-secondary'; } elseif ($booking->type == 'enroute') { $badgeClass = 'badge-warning'; } $total_pax = $booking->adults + $booking->children; @endphp @csrf @endforeach @if($bookings->isEmpty()) @endif
S.No Time Guest Service Vehicle Driver Action
{{ $loop->iteration }} {{ date('d-M - H:i', strtotime($booking->activity_date)) }} {{$booking->agent_reference}} {{ Str::limit($booking->guest_name, 20) }}
AD-{{ $booking->adults }} | CH-{{ $booking->children }} | INF-{{ $booking->infants }} {{ $booking->agent_name }}
{{$booking->type}} @if(!empty($booking->enroute_places)) ( @foreach(json_decode($booking->enroute_places) as $key => $place) {{ Str::limit($place->title, 10) }} {{ $key < count(json_decode($booking->enroute_places)) - 1 ? ', ' : '' }} @endforeach ) @endif
{{ Str::limit($booking->from_place_name, 20) }} To {{ Str::limit($booking->to_place_name, 20) }} {{-- @if($booking->booking_from==1 && $booking->agent_id!=3 && $booking->status == 'allotted') --}} @if($booking->booking_from==1 && $booking->status == 'allotted') Nameplate @endif

{{$booking->status}}

status == 'allotted' && !Gate::allows('isAdmin') ? 'disabled' : '' }}>
No records found
@if($bookings->isNotEmpty())
Download Excel {{-- @if(Gate::allows('isAdmin')): --}} @if($allotments_finished == 0) Allotment Preview @else Allotment Report @endif
@endif