{{--
--}}
{{--
--}} {{--
--}} {{--
--}}
Toggle navigation
Bus Chart
{{--
About Us
--}} {{--
Routes
--}} {{--
Services
--}}
Contact Us
{{--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)
@foreach($bus_row as $seat)
@if($seat->naming == 'TOI' || $seat->naming == 'LET' || $seat->naming == 'DO' || $seat->naming == 'OR') @if($seat->naming == 'TOI' || $seat->naming == 'LET') @if($seat->naming == 'TOI')
TOILET
@else @endif @elseif($seat->naming == 'DO' || $seat->naming == 'OR') @if($seat->naming == 'DO')
DOOR
@else @endif @endif @else @if($seat->status == 1) @if($seat->booking_status == 1)
{{ $seat->naming }}
@elseif($seat->booking_status > 1) {{--
--}}
{{ $seat->naming }}
@else {{--
{{ $seat->seat_name }}
--}} @endif @endif @endif
@endforeach
@else
@foreach($bus_row as $seat)
@if($seat->status == 1) @if($seat->booking_status == 1)
{{ $seat->naming }}
@elseif($seat->booking_status > 1)
{{ $seat->naming }}
@else {{--
{{ $seat->seat_name }}
--}} @endif @endif
@endforeach
@endif @endforeach
PROCEED
{{--End Wilson--}} @include('v1.contact_footer')