@include('website.layouts.header')
Explore
All
Tours
Filter by Trip Type
@foreach($tripTypes as $type)
{{ ucfirst($type) }}
@endforeach
Search
Clear filters
{{-- Check if any packages exist --}} @if($packages->count())
@foreach($packages as $package) @php $imageRaw = $package->images->first()->image_path ?? ''; $imagePaths = json_decode($imageRaw, true); $imagePath = is_array($imagePaths) ? ($imagePaths[0] ?? '') : trim($imageRaw, '"'); $imageUrl = $imagePath ? asset($imagePath) : asset('assets/img/default.jpg'); $durationDays = $package->duration_days ?? null; $groupMin = intval($package->group_min); $groupMax = intval($package->group_max); $routeParamKey = !empty($package->slug) ? 'slug' : 'id'; $routeParamValue = !empty($package->slug) ? $package->slug : $package->id; @endphp
${{ number_format($package->discount_price ?? $package->original_price, 2) }}
{{ $package->title }}
{{ $durationDays ? $durationDays . ' Days' : '-' }}
@if($groupMin && $groupMax) {{ $groupMin === $groupMax ? $groupMin : $groupMin . ' - ' . $groupMax }} @elseif($groupMin) {{ $groupMin }}+ @elseif($groupMax) Up to {{ $groupMax }} @else - @endif
@if (!empty($package->destination)) {{ $package->destination->first()->name }} @else N/A @endif
@endforeach
{{-- Pagination --}}
{{ $packages->appends(request()->input())->links('pagination::bootstrap-4') }}
@else
No tours found matching your search.
@endif
@include('website.layouts.footer')