@extends('agency.layouts.app') @section('title', $tour->name) @section('page_title', 'Tur Detayı') @php $breadcrumbs = [ ['title' => 'Ana Sayfa', 'url' => route('agency.dashboard')], ['title' => 'Kültür Turları', 'url' => route('agency.products.kultur-turlari.index')], ['title' => $tour->name, 'url' => ''] ]; @endphp @push('styles') @endpush @section('content')

{{ $tour->name }}

Tur Kodu: {{ $tour->code }}
{{ $tour->days }} Gün {{ $tour->nights }} Gece
{{ $tour->departureCity?->name ?? 'Belirtilmemiş' }}
@if($tour->tour_type)
{{ $tour->tour_type_display_name }}
@endif
{{ $tour->is_active ? 'Aktif' : 'Pasif' }}
@can('update', $tour) Düzenle @endcan Geri

Genel Bilgiler

Tur Adı {{ $tour->name }}
Tur Kodu {{ $tour->code }}
Süre {{ $tour->days }} Gün / {{ $tour->nights }} Gece
Kalkış Şehri {{ $tour->departureCity?->name ?? '-' }}
Varış Şehri {{ $tour->arrivalCity?->name ?? '-' }}
Tur Tipi {{ $tour->tour_type_display_name ?? '-' }}
Durum {{ $tour->is_active ? 'Aktif' : 'Pasif' }}
@if($tour->short_description)
Kısa Açıklama
{{ $tour->short_description }}
@endif @if($tour->description)
Detaylı Açıklama
{!! $tour->description !!}
@endif
@if($tour->categories->count() > 0)

Kategoriler

@foreach($tour->categories as $category) {{ $category->name }} @endforeach
@endif @if($tour->activeTourImages->count() > 0)

Görseller

@endif @if($tour->activeItineraries->count() > 0)

Tur Programı

@foreach($tour->activeItineraries as $itinerary)
Gün {{ $itinerary->day_number }}
{{ $itinerary->title }}
@if($itinerary->location)
{{ $itinerary->location }}
@endif @if($itinerary->description)
{!! $itinerary->description !!}
@endif
@endforeach
@endif @if($tour->activePricings->count() > 0)

Fiyatlandırma

@foreach($tour->activePricings as $pricing)
{{ $pricing->pricing_name }} @if($pricing->is_default) Varsayılan @endif
@if($pricing->description)
{{ $pricing->description }}
@endif
Yetişkin {{ number_format($pricing->adult_price, 2) }} {{ $pricing->currency }}
@if($pricing->child_price)
Çocuk @if($pricing->child_min_age || $pricing->child_max_age) ({{ $pricing->child_min_age ?? 0 }}-{{ $pricing->child_max_age ?? 12 }} yaş) @endif {{ number_format($pricing->child_price, 2) }} {{ $pricing->currency }}
@endif @if($pricing->infant_price)
Bebek @if($pricing->infant_max_age) (0-{{ $pricing->infant_max_age }} yaş) @endif {{ number_format($pricing->infant_price, 2) }} {{ $pricing->currency }}
@endif
@endforeach
@endif @if($tour->upcomingDates->count() > 0)

Yaklaşan Tarihler

@foreach($tour->upcomingDates as $date) @endforeach
Başlangıç Bitiş Kontenjan Durum
{{ \Carbon\Carbon::parse($date->start_date)->format('d.m.Y') }} {{ \Carbon\Carbon::parse($date->end_date)->format('d.m.Y') }} {{ $date->available_seats }} / {{ $date->max_participants }} {{ $date->is_available ? 'Müsait' : 'Dolu' }}
@endif
@endsection