@extends('website.layouts.master') @section('css') @endsection @section('content')
@include('website.layouts.includes.topbar')

{{ $from_name }} To {{ $to_name }} ({{ $type }} Trip).

{{-- --}}
From
@error('from') {{ $message }} @enderror
To
@error('to') {{ $message }} @enderror
Depart
@error('date_from') {{ $message }} @enderror
Return
@error('date_to') {{ $message }} @enderror

Filter Your Search

to narrow down your search







{{ csrf_field() }}

Filter Your Search

to narrow down your search

{{-- the defulat search of the user --}}
@if (!empty($_GET['price'])) @php $filter_price = $_GET['price']; @endphp @endif


@if (!empty($_GET['company'])) @php $company = explode(',', $_GET['company']); @endphp @endif
@foreach ($companies as $company_item)
slug, $company)) checked @endif multiple="multiple" value="{{ $company_item->slug }}" class="form-check-input clickable-item-pointer" type="checkbox" id="{{ $company_item->slug . $company_item->id }}" onchange="this.form.submit()">
@endforeach

@if (!empty($_GET['seats'])) @php $seats = explode(',', $_GET['seats']); @endphp @endif

@if (!empty($_GET['features'])) @php $feature = explode(',', $_GET['features']); @endphp @endif
@foreach ($bus_single as $item)

{{$item->name}}

{{$item->bus->short_description}}

From: {{$item->from->name}}

To: {{$item->to->name}}

{{$item->bus->seats}} Seats

@if($item->bus->wifi) @endif @if($item->bus->automatic) @endif @if($item->bus->outlets) @endif @if($item->bus->tv) @endif @if($item->bus->toilet) @endif @if($item->bus->ac) @endif @if($item->bus->drink) @endif @if($item->bus->food) @endif

{{ $item->price_per_seat }}

Price Per Person

Book now
@endforeach
@endsection @section('js') @endsection