@extends('layouts.app') @section('title', $programTemplate->title) @section('content')

{{ $programTemplate->title }} {{ $programTemplate->type_label }}

{{-- Description --}} @if($programTemplate->description)
Description
{!! nl2br(e($programTemplate->description)) !!}
@endif {{-- Services --}}
Services
✅ Inclus
{!! nl2br(e($programTemplate->included_services ?? '—')) !!}
❌ Exclus
{!! nl2br(e($programTemplate->excluded_services ?? '—')) !!}
🗺 Excursions
{!! nl2br(e($programTemplate->excursions ?? '—')) !!}
{{-- Program Days --}} @if(!empty($programTemplate->program_days))
Programme
@foreach($programTemplate->program_days as $idx => $day)

{!! nl2br(e($day['content'] ?? '')) !!}
@endforeach
@endif {{-- Photos --}} @if(!empty($programTemplate->photos))
Photos
@foreach($programTemplate->photos as $photo) @endforeach
@endif
Type{{ $programTemplate->type_label }}
Statut @if($programTemplate->status==='active') Actif @else Brouillon @endif
Jours{{ count($programTemplate->program_days ?? []) }}
Packages{{ $programTemplate->packages->count() }}
Créé le{{ $programTemplate->created_at->format('d/m/Y') }}
@if($programTemplate->packages->count())
Packages liés
@foreach($programTemplate->packages->take(5) as $pkg) {{ $pkg->display_title }} {{ $pkg->status }} @endforeach
@endif
@endsection