@include('layouts.header')

{{__('strings.Tour Packages')}}

{{__('strings.From')}} {{ $city->city}}

{{$countPackages}} {{__('strings.Found Trips')}}
@if(!empty($packages)) @foreach($packages as $trip)
Best Sale @php // Get the file path and extension $imagePath = $trip->pictures; // Assuming the image path is stored in the file_path attribute $extension = pathinfo($imagePath, PATHINFO_EXTENSION); // Add text before the extension $modifiedImagePath = preg_replace('/\.' . $extension . '$/', '-cropped.' . $extension, $imagePath); @endphp {{ $trip->name }}
5 (1 reviews)

@if ($trip->days == 1) 1 {{__('strings.Day')}} @else {{ $trip->days }} {{__('strings.Day')}} @endif

${{ $trip->price }}

{{__('strings.From')}} /

@endforeach @endif
@include('layouts.footerm')