@extends('layouts.app') @section('content') @if(session('success'))
{{ session('success') }}
@endif
{{-- Card Header --}}

Edit Package

View All
{{-- Breadcrumb --}}
@csrf @method('PUT') {{-- BASIC INFORMATION --}}
Basic Information
@error('name')
{{ $message }}
@enderror
@error('destination_id')
{{ $message }}
@enderror
{{-- TOUR DATES --}}
Tour Dates
@error('tour_start_date')
{{ $message }}
@enderror
@error('tour_end_date')
{{ $message }}
@enderror
@error('last_booking_date')
{{ $message }}
@enderror
{{-- MAP & ITINERARY --}}
Map & Itinerary
{{-- Existing Itinerary Days --}}
@if(isset($itineraries) && $itineraries->count())
@foreach($itineraries as $day) @endforeach
Day Title Description Image
{{ $day->day_no }} {{ $day->title }} {{ Str::limit($day->description, 80) }} @if($day->image) @endif
@else

No itinerary days added yet.

@endif
{{-- Add New Itinerary Days --}}
Day No Title Description Image
{{-- PRICING --}}
Pricing
@php $currentType = old('price_type', is_null($package->price_max) ? 'fixed' : 'range'); @endphp
Fixed Price
Price Range
$ USD
@error('price_min')
{{ $message }}
@enderror
{{-- POLICIES & SETTINGS --}}
Policies & Settings
payment_type ?? 'offline') == 'online' ? 'checked' : '' }}>
payment_type ?? 'offline') == 'offline' ? 'checked' : '' }}>
@error('payment_type')
{{ $message }}
@enderror
{{-- MEDIA --}}
Media
@if($package->photo) @endif @error('photo')
{{ $message }}
@enderror Only jpg, jpeg, gif and png are allowed
@if($package->banner) @endif @error('banner')
{{ $message }}
@enderror Only jpg, jpeg, gif and png are allowed
@if(isset($photos) && $photos->count()) @foreach($photos as $photo) @endforeach @else

No photos added yet.

@endif
@if(isset($videos) && $videos->count()) @foreach($videos as $video)
{!! $video->video_iframe !!}
@endforeach @else

No videos added yet.

@endif
{{-- SEO INFORMATION --}}
SEO Information
{{-- ACTIONS --}}
Cancel
@endsection @section('scripts') @endsection