@extends('layouts.web') @section('page-title', 'Home page') @section('link-active-2', 'active') @section('main-container')

CONTACT US

@if(isset($route)) @foreach($route as $route_details) @foreach($route_details->depature as $depature_details) @if($depature_details->depature_date == $departure_date_in && $depature_details->is_deleted == 0 && $depature_details->status == 0)
@csrf

{{$route_details->start_from}}({{$route_details->end_to}}) - {{$sub_routes->name}}


BUS TYPE

{{$depature_details->bus_type}}

{{Str::upper($depature_details->registration_number)}}

Departure

{{date_format(date_create($departure_date_in), 'd M Y')}}

{{date_format(date_create($depature_details->depature_time), 'H:i A')}}

VIA
{{$depature_details->via}}

Fare

{{number_format($sub_routes->fare, 2)}} TZS

@if($depature_details->number_of_sit-count($depature_details->booking) > 0)
Total @php echo $depature_details->number_of_sit-count($depature_details->booking); @endphp Seat left
@else
This bus is full, kindly check our other buses
@endif

Available

VIP

Selected

Booked
@php $xs = $fvip = $founded = 0; $vipseats = explode(',', $depature_details->vip_seat); $totalvipseat = count($vipseats); @endphp @if($totalvipseat > 0) @for($ic = 1; $ic <= $depature_details->number_of_sit; $ic++) @foreach($depature_details->booking as $booking) @if($booking->sit_number == $ic)
{{$ic}}
@php $xs = $ic; break; @endphp @endif @endforeach @if($xs != $ic) @php $foundeds = 0; @endphp @for($vi = 0; $vi < $totalvipseat; $vi++) @if($ic == $vipseats[$vi])
{{$ic}}
@php $foundeds = 1; @endphp @endif @endfor @if($foundeds != 1)
{{$ic}}
@endif @endif @if($depature_details->number_of_sit == 47) @if($ic == 1 || $ic == 4)
@elseif($ic == 8 || $ic == 12 || $ic == 16 || $ic == 20 || $ic == 24 || $ic == 28 || $ic == 32 || $ic == 36 || $ic == 40)
@endif @elseif($depature_details->number_of_sit == 53) @if($ic == 2 || $ic == 6 || $ic == 10 || $ic == 14 || $ic == 18 || $ic == 22 || $ic == 26 || $ic == 30 || $ic == 34 || $ic == 38 || $ic == 42 || $ic == 46)
@endif @else @if($ic == 2 || $ic == 6 || $ic == 10 || $ic == 14 || $ic == 18 || $ic == 22 || $ic == 26 || $ic == 30 || $ic == 34 || $ic == 38 || $ic == 42 || $ic == 46 || $ic == 50)
@endif @endif @endfor @else @for($ic = 1; $ic <= $depature_details->number_of_sit; $ic++) @foreach($depature_details->booking as $booking) @if($booking->sit_number == $ic)
{{$ic}}
@php $xs = $ic; break; @endphp @endif @endforeach @if($xs == $ic) @else
{{$ic}}
@endif @if($depature_details->number_of_sit == 53) @if($ic == 2 || $ic == 6 || $ic == 10 || $ic == 14 || $ic == 18 || $ic == 22 || $ic == 26 || $ic == 30 || $ic == 34 || $ic == 38 || $ic == 42 || $ic == 46)
@endif @else @if($ic == 2 || $ic == 6 || $ic == 10 || $ic == 14 || $ic == 18 || $ic == 22 || $ic == 26 || $ic == 30 || $ic == 34 || $ic == 38 || $ic == 42 || $ic == 46 || $ic == 50)
@endif @endif @endfor @endif

Boarding Points

@foreach($boarding as $boarding_points) @if($route_details->id == $boarding_points->route_id)
{{$boarding_points->name}}
@endif @endforeach

Selected Seats Details

Schedule Summary

Start From: {{$route_details->start_from}}({{$route_details->end_to}})
Destination: {{$sub_routes->name}}
Vehicle Number: {{Str::upper($depature_details->registration_number)}}
Reporting Time: {{date_format(date_create($departure_date_in), 'd M Y')}} {{date_format(date_create($depature_details->report_time), 'H:i A')}}
Departure Time: {{date_format(date_create($departure_date_in), 'd M Y')}} {{date_format(date_create($depature_details->depature_time), 'H:i A')}}
Expected Arrival: {{date_format(date_create($depature_details->expected_arrival_time), 'd M Y H:i A')}}
Fare: {{number_format($sub_routes->fare, 2)}} TZS
@endif @endforeach @endforeach @else
Please search buses schedule using above form, Aifola Express we have more than 10 routes per day please search and booking to enjoy your travell with our best staff with best services.
Below are the services available to our buses.

Comfort Seats

Majority of our coaches comes with comfy adjusted seats and have a handy footrest, so you can find just the right spot to relax.

Air Condition

All our coaches are fitted with thermostatically controlled air conditioning as well as efficient heating to keep our passengers warm during the winter.

Free Wifi

Get free WI-FI whenever you travel with us. Share your travel moments with family and friends. Check your emails or Instagram from the road.

Customer Care

Here at Aifola Express we are always put our customer first by respond to any query.

Trusted

We are happy to insure your security and safe travel

@endif
@endsection @push('scripts') @endpush