@extends('agency.layouts.app') @section('title', $tour->name . ' - Tur Programı') @section('page_title', 'Günübirlik Tur Düzenle') @php $breadcrumbs = [ ['title' => 'Ana Sayfa', 'url' => route('agency.dashboard')], ['title' => 'Günübirlik Turlar', 'url' => route('agency.products.gunubirlik-turlar.index')], ['title' => $tour->name, 'url' => route('agency.products.gunubirlik-turlar.show', $tour)], ['title' => 'Program', 'url' => ''] ]; @endphp @push('styles') @endpush @section('content')

{{ $tour->name }}

Tur Kodu: {{ $tour->code }}
{{ $tour->start_time }} - {{ $tour->end_time }}
{{ $tour->departureCity?->city ?? 'Belirtilmemiş' }}
@if($tour->tour_type)
{{ $tour->tour_type === 'domestic' ? 'Yurtiçi' : 'Yurtdışı' }}
@endif
@include('agency.products.gunubirlik-turlar._nav', ['active' => 'itinerary'])

Gün İçi Program

@if($itineraries->count() > 0) @foreach($itineraries as $itinerary)
{{ $itinerary->title }}
@if($itinerary->time)
{{ $itinerary->time }}
@endif
@if($itinerary->description)
{!! $itinerary->description !!}
@endif
@if($itinerary->location)
{{ $itinerary->location }}
@endif @if($itinerary->duration_minutes)
{{ $itinerary->duration_minutes }} dakika
@endif @if($itinerary->activity_type)
{{ ucfirst($itinerary->activity_type) }}
@endif
@endforeach @else
Henüz program eklenmemiş

Başlamak için yukarıdaki "Program Ekle" butonuna tıklayın

@endif
@endsection @push('scripts') @endpush