@extends('layouts.admin') @section('content')
Code: {{ $item->package_code }}
Title: {{ $item->title }}
Slug: {{ $item->slug }}
Type: {{ $item->package_type }}
Country: {{ $item->country?->name ?? '-' }}
Destinations: {{ $item->destinations->count() ? $item->destinations->pluck('name')->implode(', ') : ($item->destinationRef?->name ?? $item->destination) }}
Tour Category: {{ $item->tourCategory?->label ?? '-' }}
Duration: {{ $item->durationLabel() }}
Prices (Adult/Child/Infant): {{ $item->adult_price }}/{{ $item->child_price }}/{{ $item->infant_price }}
Seasonal/Offer/Agent/Corporate: {{ $item->seasonal_price }}/{{ $item->offer_price }}/{{ $item->agent_price }}/{{ $item->corporate_price }}
Sold As: {{ $item->modeLabel() }}
@if ($item->isGroup())Seats: {{ $item->available_seats ?? $item->capacity }} left of {{ $item->capacity }}
@elseMinimum Persons: {{ $item->minimumPersons() }}
@endifLast Booking Date: {{ optional($item->booking_deadline)->format('d M Y') ?: '-' }} @if ($item->isBookingClosed()) Closed @endif
Departure Date: {{ optional($item->departure_date)->format('d M Y') ?: '-' }} 'bg-success', 'expired' => 'bg-warning text-dark', 'off' => 'bg-secondary'][$item->upcomingEventStatus()] }}'>Upcoming Event: {{ ucfirst($item->upcomingEventStatus()) }} @if ($item->is_upcoming_event) priority {{ $item->event_priority }} @endif
Video URL: {{ $item->video_url }}
{{-- Admin-authored rich text. Sanitized again here on top of the sanitizing already done at save time โ belt and suspenders for anything that might reach the database by some other path in the future. `description` is what the public website shows as the package's "Trip Overview". --}}No itinerary added.
@endforelse