{{-- Quick-view "Genel Bilgiler" tam düzenleme formu (kültür/yurtdışı/günübirlik ortak). Gerekli: $tour, $editBase, $cities, $categories, $productType ('cultural'|'international'|'day'). Opsiyonel: $cancellationPolicies, $termsConditions, $inclusionsTemplates, $exclusionsTemplates --}} @php $productType = $productType ?? 'cultural'; $isDay = $productType === 'day'; $categories = $categories ?? collect(); $cancellationPolicies = $cancellationPolicies ?? collect(); $selectedCatIds = $tour->categories->pluck('id')->toArray(); $tourTypeOpts = ['domestic' => 'Yurt İçi', 'international' => 'Yurt Dışı']; $difficultyOpts = ['easy' => 'Kolay', 'moderate' => 'Orta', 'challenging' => 'Zor', 'extreme' => 'Çok Zor']; $transportOpts = ['air' => 'Uçak', 'road' => 'Karayolu', 'train' => 'Tren', 'ferry' => 'Feribot', 'other' => 'Diğer']; $weekdays = ['monday' => 'Pzt', 'tuesday' => 'Sal', 'wednesday' => 'Çar', 'thursday' => 'Per', 'friday' => 'Cum', 'saturday' => 'Cmt', 'sunday' => 'Paz']; $recurring = is_array($tour->recurring_days ?? null) ? $tour->recurring_days : []; @endphp
{{-- Temel Bilgiler --}}
Temel Bilgiler
@if($isDay)
@else
@endif
@if($isDay)
@foreach($weekdays as $v => $l) @endforeach
@endif
{{-- İçerik (Quill) --}}
İçerik
@include('agency.products._qv-quill-field', ['name' => 'description', 'label' => 'Detaylı Açıklama *', 'value' => $tour->description]) @include('agency.products._qv-quill-field', ['name' => 'places_to_visit', 'label' => 'Gezilecek Yerler', 'value' => $tour->places_to_visit])
@include('agency.products._qv-quill-field', ['name' => 'inclusions', 'label' => 'Fiyata Dahil', 'value' => $tour->inclusions])
@include('agency.products._qv-quill-field', ['name' => 'exclusions', 'label' => 'Fiyata Dahil Değil', 'value' => $tour->exclusions])
{{-- Ulaşım (kültür/yurtdışı) --}} @unless($isDay)
Ulaşım
@foreach($tour->transferPoints as $i => $tp)
@endforeach
@endunless {{-- Politikalar --}}
Politikalar
@include('agency.products._qv-quill-field', ['name' => 'cancellation_policy', 'label' => 'İptal Politikası', 'value' => $tour->cancellation_policy]) @include('agency.products._qv-quill-field', ['name' => 'terms_conditions', 'label' => 'Şartlar & Koşullar', 'value' => $tour->terms_conditions])
{{-- Kategoriler --}}
Kategoriler
@if($categories->count())
@foreach($categories as $cat) @endforeach
@else

Tanımlı kategori yok.

@endif