{{-- resources/views/customer/agency/sections/tours-slider.blade.php --}}
@if($section->title || $section->subtitle)
@if($section->subtitle)

{{ $section->subtitle }}

@endif @if($section->title)

{{ $section->title }}

@endif
@endif
@php $limit = $section->getConfig('tour_limit', 8); $tours = \App\Models\Tour\Tour::where('agency_id', $agency->id) ->active()->public()->bookable() ->limit($limit)->get(); @endphp @foreach($tours as $tour)
@if($tour->cover_image_url) {{ $tour->name }} @else
@endif @if($tour->is_featured)
Öne Çıkan
@endif
@if($tour->tour_type) {{ $tour->tour_type_display_name }} @endif @if($tour->days) {{ $tour->days }}G/{{ $tour->nights }}G @endif

{{ Str::limit($tour->name, 50) }}

@if($tour->short_description)

{{ Str::limit($tour->short_description, 100) }}

@endif
Başlangıç {{ $tour->formatted_price }}
Detay
@endforeach