{{--
--}}
{{--
--}} {{--
--}} {{--
--}}
@if($is_small_device)
{{-- Download App At--}} {{--
--}}
{{--
--}} {{--
--}}
{{--
--}}
{{--
Download App
--}}
@endif
Toggle navigation
Home
Bus Schedules
Contact Us
@if($is_small_device)
@endif
@if(isset(Auth::user()->id)) {{--
--}} {{-- @csrf--}} {{--
--}} {{--
--}} {{--
--}} {{--
From
--}} {{--
--}} {{-- @foreach ($cities as $city)--}} {{--
id) ? 'selected' : ''}}>{{ $city->city }}
--}} {{-- @endforeach--}} {{--
--}} {{--
--}} {{--
--}} {{--
To
--}} {{--
--}} {{-- @foreach ($cities as $city)--}} {{--
id) ? 'selected' : ''}}>{{ $city->city }}
--}} {{-- @endforeach--}} {{--
--}} {{--
--}} {{--
--}} {{--
Sub Route
--}} {{--
--}} {{-- @foreach ($sub_routes as $sub_route)--}} {{--
id) ? 'selected' : ''}}>{{ $sub_route->pointA }}--}} {{-- - {{ $sub_route->pointB }}
--}} {{-- @endforeach--}} {{--
--}} {{--
--}} {{--
--}} {{--
Departure
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
Search for bus
--}} {{--
--}} {{--
--}} {{--
--}} @else {{--
--}} {{-- @csrf--}} {{--
--}} {{--
--}} {{--
--}} {{--
From
--}} {{--
--}} {{-- --}}{{--
Select City
--}} {{-- @foreach ($cities as $city)--}} {{--
id) ? 'selected' : ''}}>{{ $city->city }}
--}} {{-- @endforeach--}} {{--
--}} {{-- --}}{{--
--}} {{-- --}}{{--
--}} {{-- --}}{{-- --}} {{-- --}}{{--
--}} {{--
--}} {{--
--}} {{--
To
--}} {{--
--}} {{-- --}}{{--
Select City
--}} {{-- @foreach ($cities as $city)--}} {{--
id) ? 'selected' : ''}}>{{ $city->city }}
--}} {{-- @endforeach--}} {{--
--}} {{-- --}}{{--
--}} {{-- --}}{{--
--}} {{--
--}} {{--
--}} {{--
Departure
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}}{{--
Search for bus
--}} {{--
--}} {{--
--}} {{--
--}} @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)
{{__('BOOK TICKET')}}
@endif
@else @if($bus_schedule->available_seats)
@else
@endif
{{--
--}} {{--
--}} {{--
--}} {{--
{{ $bus_schedule->bus->bus_reg_no }}--}} {{-- ({{$bus_schedule->bus->class}})
--}} {{-- --}}{{--
--}} {{-- --}}{{-- BUS: {{ $bus_schedule->bus->bus_reg_no }}--}} {{-- --}}{{-- ({{$bus_schedule->bus->class}})--}} {{-- --}}{{--
--}} {{--
--}} {{--
--}} {{--
Tsh {{number_format($bus_schedule->fare)}}
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}}
{{ $bus_schedule->bus->bus_reg_no }} ({{$bus_schedule->bus->class}})
Tsh {{number_format($bus_schedule->fare)}}
{{ $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)
{{__('BOOK TICKET')}}
@endif
@endif {{-- Single Bus End here ------------------------------------------------------------------------}} @endforeach
@endif @include('v1.contact_footer')