@extends('frontend.layouts.master') @section('title', $package->title . ' — Travelio') @section('meta', \Illuminate\Support\Str::limit(strip_tags($package->description ?: 'Book the '.$package->title.' package with Travelio.'), 150)) @section('page', 'packages') @php $img = \Illuminate\Support\Str::startsWith($package->image ?? '', 'http') ? $package->image : ($package->image ? asset($package->image) : placeholder_image('wide')); @endphp @section('content') @include('frontend.components.page-hero', [ 'title' => $package->title, 'crumbs' => [___('frontend.tour_packages') => route('front.packages'), $package->destination => null], ])
{{-- Main --}}
{{ $package->title }}
{{ $package->category }} {{ $package->duration_days }} {{ ___('label.days') }} / {{ $package->duration_nights }} {{ ___('label.nights') }} {{ $package->destination }} @if($package->category) {{ $package->category }} @endif

{{ ___('frontend.overview') }}

{{ $package->description ?: str_replace(':name', settings('name') ?: 'Travelio', ___('frontend.curated_travel_experience')) }}

{{-- What's included — per-package, edited in Packages → Inclusions. --}} @php $inclusions = $package->inclusionList(); @endphp @if($inclusions)

{{ ___('frontend.whats_included') }}

@foreach($inclusions as $item)
{{ $item }}
@endforeach
@endif @php $exclusions = $package->exclusionList(); @endphp @if($exclusions)

{{ ___('frontend.not_included') }}

    @foreach($exclusions as $item)
  • {{ $item }}
  • @endforeach
@endif {{-- Itinerary — per-package, edited under Packages → Day-by-day itinerary. --}} @if($package->itineraries->isNotEmpty())

{{ ___('frontend.day_by_day_itinerary') }}

@foreach($package->itineraries as $day)

{{ $day->description ?: ___('frontend.itinerary_details_fallback') }}
@endforeach
@endif {{-- The guide leading the next departure, when one is assigned. --}} @if($guide)

{{ ___('frontend.your_tour_guide') }}

{{ $guide->name }}
{{ $guide->name }}
@if($guide->experience_years) {{ $guide->experience_years }}+ {{ ___('frontend.years_experience') }} @endif @if($guide->languages) · {{ $guide->languages }} @endif
@if($guide->avg_rating !== null)
@php $stars = (int) round($guide->avg_rating); @endphp {!! str_repeat('', $stars) . str_repeat('', 5 - $stars) !!} {{ $guide->avg_rating }} ({{ $guide->ratings->count() }})
@endif
@if($guide->bio)

{{ $guide->bio }}

@endif
@endif
{{-- Sticky booking card --}}
{{ ___('frontend.starting_from') }}
{{ currency_symbol() }}{{ number_format($package->price) }} {{ ___('frontend.per_adult') }}
@if($package->child_price)
{{ currency_symbol() }}{{ number_format($package->child_price) }} {{ ___('frontend.per_child') }}
@endif @if($package->single_supplement)
+{{ currency_symbol() }}{{ number_format($package->single_supplement) }} {{ ___('frontend.single_supplement_note') }}
@endif
@if(session('success'))
{{ session('success') }}
@endif
@csrf
@error('customer_name')
{{ $message }}
@enderror
@error('customer_phone')
{{ $message }}
@enderror
@error('customer_email')
{{ $message }}
@enderror
@error('travel_date')
{{ $message }}
@enderror
@error('travelers')
{{ $message }}
@enderror
@error('coupon_code')
{{ $message }}
@enderror
{{-- Bookings bill price × travellers, so the figure is shown before submitting rather than on the confirmation call. A promo code is applied by the server on submit, so the total here is the price before any discount. --}}
{{ currency_symbol() }}{{ number_format($package->price * 2) }}
{{-- Visa is excluded from package pricing, so the intent has to be captured here or it surfaces days before departure. --}}
{{ ___('frontend.ask_a_question') }}
{{ ___('frontend.no_payment_required') }}
{{-- Traveller reviews. Every one of these is attached to a booking that was paid for and travelled on, which is what the badge says. --}} @if($package->approvedReviews->isNotEmpty())

{{ ___('frontend.traveller_reviews') }}

@php $stars = (int) round($package->avg_rating); @endphp {!! str_repeat('', $stars) . str_repeat('', 5 - $stars) !!} {{ $package->avg_rating }} ({{ $package->reviews_count }})
@foreach($package->approvedReviews as $review)
{{ $review->authorName() }} @if($review->isVerified()) {{ ___('frontend.verified_booking') }} @endif
{!! str_repeat('', $review->rating) . str_repeat('', 5 - $review->rating) !!}
@if($review->title)
{{ $review->title }}
@endif @if($review->comment)

{{ $review->comment }}

@endif @if($review->reply)
{{ settings('site_name') ?: ___('frontend.our_reply') }}

{{ $review->reply }}

@endif
{{ $review->created_at->format('d M Y') }}
@endforeach
@endif {{-- Related --}} @if(isset($related) && $related->count())

{{ ___('frontend.you_may_also_like') }}

@foreach($related as $rel)
@include('frontend.components.package-card', ['package' => $rel])
@endforeach
@endif
@endsection