@php $features = $destination->features ?? []; $itinerary = $destination->itinerary ?? []; $inclusions = $destination->inclusions ?? []; $exclusions = $destination->exclusions ?? []; $packageCosts = $destination->package_costs ?? []; $pageTitle = $destination->meta_title ?: $destination->title . ' | Samarth Hospitality'; $pageDescription = $destination->meta_description ?: \Illuminate\Support\Str::limit( strip_tags($destination->description ?? ''), 160 ); /* |-------------------------------------------------------------------------- | Price |-------------------------------------------------------------------------- */ $regularPrice = $destination->pricing ?? 0; $salePrice = $destination->sale_price ?? 0; $hasSalePrice = $salePrice > 0 && $salePrice < $regularPrice; $displayPrice = $hasSalePrice ? $salePrice : $regularPrice; /* |-------------------------------------------------------------------------- | Discount |-------------------------------------------------------------------------- */ $discountPercentage = 0; if ($hasSalePrice && $regularPrice > 0) { $discountPercentage = round( (($regularPrice - $salePrice) / $regularPrice) * 100 ); } @endphp {{ $pageTitle }} @if($destination->meta_keywords) @endif @include('partials.topcss') @include('partials.topmenu')
Home India Tour
{{-- PACKAGE TITLE --}}

{{ $destination->title }}

{{-- PACKAGE META --}}
@if($destination->durationDetail)
{{ $destination->durationDetail->name }}
@endif @if($destination->location)
{{ $destination->location }}
@endif
{{-- ================================================= MAIN HERO ROW ================================================== --}}
{{-- LEFT --}}
{{-- PACKAGE FEATURES --}} @if(count($amenities))
@foreach($amenities as $feature)
{{ $feature->title }}
@endforeach
@endif
{{-- RIGHT : PRICE --}}
@if($hasSalePrice)
₹{{ number_format($regularPrice) }}
@endif
₹{{ number_format($displayPrice) }}
Starting price per adult
{{-- BOOK NOW --}}
{{-- FOOTER --}}
{{-- ===================================================== CONTENT + SIDEBAR ====================================================== --}}
{{-- ================================================= LEFT CONTENT ================================================== --}}
{{-- ========================================== TOUR STICKY MENU =========================================== --}}
Tour Overview @if(count($itinerary)) Itinerary @endif @if(count($inclusions)) Package Inclusion @endif @if(count($exclusions)) Package Exclusion @endif
{{-- ========================================== TOUR OVERVIEW =========================================== --}}

Tour Overview

@if($destination->description)
{!! $destination->description !!}
@endif @if($destination->content)
{!! $destination->content !!}
@endif

{{-- ===================================================== TOUR ITINERARY ====================================================== --}} @if(count($itinerary))
{{-- SECTION HEADER --}}
YOUR JOURNEY

Day Wise Itinerary

Explore the complete journey, day by day.

{{-- ITINERARY LIST --}}
@foreach($itinerary as $index => $day)
{{-- DAY NUMBER --}}
DAY {{ str_pad($day['day'] ?? ($index + 1), 2, '0', STR_PAD_LEFT) }}
{{-- CONNECTOR --}}
{{-- CONTENT --}}
@if(!empty($day['route'])) {{ $day['route'] }} @endif

{{ $day['title'] ?? 'Day ' . ($index + 1) }}

@if(!empty($day['description']))
{!! $day['description'] !!}
@endif
@if(!empty($day['hotel'])) {{ $day['hotel'] }} @endif @if(!empty($day['meal'])) {{ $day['meal'] }} @endif @if(!empty($day['vehicle'])) {{ $day['vehicle'] }} @endif
@endforeach
@endif {{-- ===================================================== INCLUSIONS ====================================================== --}} @if(count($inclusions))
PACKAGE DETAILS

Package Inclusion

    @foreach($inclusions as $inclusion)
  • {{ is_array($inclusion) ? ($inclusion['title'] ?? $inclusion['name'] ?? '') : $inclusion }}
  • @endforeach
@endif {{-- ===================================================== EXCLUSIONS ====================================================== --}} @if(count($exclusions))
PLEASE NOTE

Package Exclusions

    @foreach($exclusions as $exclusion)
  • {{ is_array($exclusion) ? ($exclusion['title'] ?? $exclusion['name'] ?? '') : $exclusion }}
  • @endforeach
@endif {{-- ===================================================== PACKAGE COST ====================================================== --}} @if(count($packageCosts)) @foreach($packageCosts as $costIndex => $validity) @php $rows = $validity['rows'] ?? []; @endphp @if(count($rows))

PACKAGE COST

{{ $validity['title'] ?? 'Rate Details' }}

@if(!empty($validity['from']) && !empty($validity['to']))

Valid from {{ \Carbon\Carbon::parse($validity['from'])->format('d M Y') }} to {{ \Carbon\Carbon::parse($validity['to'])->format('d M Y') }}

@endif
@foreach($rows as $row) @endforeach
Sl No No of Rooms Vehicle Used Cost Per Person Min Person Required Meal Plan
{{ $loop->iteration }} {{ $row['room_no'] ?? '-' }} {{ $row['vehicle'] ?? '-' }} @php $cost = $row['cost'] ?? '-'; @endphp @if($cost === '-' || $cost === '') - @elseif(str_contains((string) $cost, '₹')) {{ $cost }} @elseif(is_numeric($cost)) ₹{{ number_format((float) $cost) }} @else {{ $cost }} @endif {{ $row['person'] ?? '-' }} {{ $row['meal'] ?? '-' }}
@endif @endforeach @endif
{{-- ================================================= RIGHT SIDEBAR ================================================== --}}
{{-- ========================================================= RELATED TOUR PACKAGES ========================================================= --}} @if($relatedDestinations->isNotEmpty()) @endif {{-- ========================================================= ITINERARY JS + ENQUIRY ========================================================= --}} @push('scripts') @endpush @include('partials.footer')