{{-- --}} {{-- --}} {{-- --}} {{-- --}} @if($is_small_device)



@endif
@if(isset(Auth::user()->id)) {{--
--}} {{-- @csrf--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} @else {{--
--}} {{-- @csrf--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}}{{-- --}} {{-- --}}{{--
--}} {{-- --}}{{-- --}} {{-- --}}{{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}}{{-- --}} {{-- --}}{{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{-- --}}{{----}} {{--
--}} {{--
--}} {{--
--}} @endif

@if(sizeof($bus_schedules) == 0)
@else
@foreach ($bus_schedules as $x => $bus_schedule) {{-- Single Bus start ------------------------------------------------------------------------}} @if(!$is_small_device)
{{--
Reg: {{$bus_schedule->bus->bus_reg_no}} ({{$bus_schedule->bus->class}})
--}} {{--
2X2 Comfortable Seats
--}}
{{--
--}}
{{--
--}} {{-- BUS: {{ $bus_schedule->bus->bus_reg_no }}--}} {{-- ({{$bus_schedule->bus->class}})--}} {{--
--}} {{--
--}} {{-- --}}
{{ $bus_schedule->startCity->city }}
@if(isset($bus_schedule->route->via)) ( via : {{ $bus_schedule->route->via }} ) @endif
{{ $bus_schedule->endCity->city }}
{{$bus_schedule->departure}}
{{$bus_schedule->distance }} ,{{$bus_schedule->approximate_hours}}
{{ $bus_schedule->arrival}}
Boarding Point & Time
{{$bus_schedule->origin_point}} ({{ $bus_schedule->departure }} - {{$bus_schedule->time_of_day}})
Tsh {{number_format($bus_schedule->fare)}}
{{ $bus_schedule->available_seats}} Seats Left
Amenities:
@foreach($bus_schedule->bus_services as $busService) @if($busService == 'AC')
@endif @if($busService == 'Comfort Seat')
@endif @if($busService == 'USB & Charging System')
@endif @if($busService == 'TV')
@endif @if($busService == 'WI-FI')
@endif @if($busService == 'Toilet')
@endif @if($busService == 'Soft Drinks & Snacks')
@endif @endforeach
@if($bus_schedule->available_seats > 0) @endif
@else @if($bus_schedule->available_seats)
@else
@endif
--}} {{--
--}}
{{ $bus_schedule->available_seats}} Seats Left
{{ $bus_schedule->startCity->city }}
{{$bus_schedule->departure}}
@if(isset($bus_schedule->route->via)) ( via : {{ $bus_schedule->route->via }} ) @endif
{{$bus_schedule->distance }} ,{{$bus_schedule->approximate_hours}}
{{ $bus_schedule->endCity->city }}
{{ $bus_schedule->arrival}}
{{--
--}} {{--
--}} {{--
--}} {{-- {{$bus_schedule->distance }}--}} {{-- ,{{$bus_schedule->approximate_hours}}--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}}
Boarding Point & Time
{{$bus_schedule->origin_point}} ({{ $bus_schedule->departure }} - {{$bus_schedule->time_of_day}})
Enmities:
@foreach($bus_schedule->bus_services as $busService) @if($busService == 'AC')
@endif @if($busService == 'Comfort Seat')
@endif @if($busService == 'USB & Charging System')
@endif @if($busService == 'TV')
@endif @if($busService == 'WI-FI')
@endif @if($busService == 'Toilet')
@endif @if($busService == 'Soft Drinks & Snacks')
@endif @endforeach
@if($bus_schedule->available_seats) @endif
@endif {{-- Single Bus End here ------------------------------------------------------------------------}} @endforeach
@endif @include('v1.contact_footer')