{{-- --}} {{-- --}} {{-- --}} {{-- --}}
{{--Wilson--}} @include('includes.alerts')
{{__('text.bus')}} : {{ $bus_schedule->bus->bus_reg_no }}
{{-- Label : {{ $bus_schedule->label }}
--}} {{__('text.departure')}} : {{ $bus_schedule->departure }}
{{__('text.available')}} {{__('text.selected')}} {{__('text.taken')}}
@csrf
{{ $bus_schedule->startCity->city }} - {{ $bus_schedule->endCity->city }} @if(isset($bus_schedule->route->via)) ( via : {{ $bus_schedule->route->via }} ) @endif
{{__('text.choose_seat')}}
@php $view = 'seats.seat-map'; $bus = $bus_schedule->bus->id; @endphp
    @php $i = 1; $length = count($bus_rows); $booking_status = 0; @endphp @foreach($bus_rows as $i => $bus_row) @if($i != $length)
    1. @foreach($bus_row as $seat)
    2. @if($seat->naming == 'TOI' || $seat->naming == 'LET' || $seat->naming == 'DO' || $seat->naming == 'OR') @if($seat->naming == 'TOI' || $seat->naming == 'LET') @if($seat->naming == 'TOI') @else @endif @elseif($seat->naming == 'DO' || $seat->naming == 'OR') @if($seat->naming == 'DO') @else @endif @endif @else @if($seat->status == 1) @if($seat->booking_status == 1) @elseif($seat->booking_status > 1) {{-- --}} @else {{----}} @endif @endif @endif
    3. @endforeach
  1. @else
    1. @foreach($bus_row as $seat)
    2. @if($seat->status == 1) @if($seat->booking_status == 1) @elseif($seat->booking_status > 1) @else {{-- --}} @endif @endif
    3. @endforeach
  2. @endif @endforeach
{{--End Wilson--}} @include('v1.contact_footer')