{{ $travelAgent['name'] ?? 'PREMIUM TRAVEL AGENCY' }}
Crafting Unforgettable Journeys, One Destination at a Time
@if(!empty($travelAgent['address'])) @endif @if(!empty($travelAgent['gst_number'])) @endif
📍 {{ $travelAgent['address'] }}
🏢 GST: {{ $travelAgent['gst_number'] }}
✈️ TRIP OVERVIEW
{{ $invoice['package_name'] ?? 'Premium Travel Package' }}

{{ $invoice['trip_code'] }}

Your journey of a lifetime begins here
Trip Duration
{{ count($invoice['trip_days'] ?? []) }} Days
Travelers
{{ $invoice['no_of_pax'] ?? 0 }} PAX
Start Date
{{ $startDate ?? 'TBD' }}
End Date
{{ $endDate ?? 'TBD' }}
👤 GUEST INFORMATION
👤
{{ $invoice['customer_name'] ?? 'Valued Customer' }}
Primary Guest
📞
{{ $invoice['customer_phone_number'] ?? 'Not Provided' }}
Phone Number
✉️
{{ $invoice['customer_email'] ?? 'Not Provided' }}
Email Address
💬
{{ $invoice['customer_whatsapp'] ?? 'Not Provided' }}
WhatsApp
💰 PRICE BREAKDOWN
Total Package Amount ₹{{ number_format(($invoice['billed_amount'] ?? 0) + ($invoice['margin_amount'] ?? 0), 2) }}
Tax ({{ $invoice['tax_percentage'] ?? 0 }}%) ₹{{ number_format($invoice['tax_amount'] ?? 0, 2) }}
Discount Applied -₹{{ number_format($invoice['discount_amount'] ?? 0, 2) }}
Final Amount Payable ₹{{ number_format($invoice['final_price'] ?? 0, 2) }}
Per Person Cost ₹{{ number_format(($invoice['final_price'] ?? 0) / max(1, ($invoice['no_of_pax'] ?? 1)), 2) }}
💳 PAYMENT INFORMATION
Total Amount
₹{{ number_format($invoice['final_price'] ?? 0, 2) }}
Amount Paid
₹{{ number_format($invoice['total_paid_amount'] ?? 0, 2) }}
Balance Due
₹{{ number_format($invoice['remaining_amount'] ?? 0, 2) }}
{{ number_format($paymentPercentage ?? 0, 1) }}% Paid • {{ $invoice['payment_status'] ?? 'Pending' }}
@if(!empty($payments) && count($payments) > 0)

📋 Payment History

@foreach($payments as $payment)
@if(!empty($payment['status'])) @endif
{{ $payment['type'] ?? 'Payment' }} ₹{{ number_format($payment['amount'] ?? 0, 2) }}
Method: {{ $payment['payment_method'] ?? 'N/A' }} Date: {{ $payment['payment_date'] ?? 'N/A' }}
{{ $payment['status'] }}
@endforeach
@endif
📅 DETAILED ITINERARY
@foreach($invoice['trip_days'] ?? [] as $day)
Day {{ $day['day_number'] ?? 1 }}
 
{{ $day['day_date'] ?? 'Date not specified' }}
@if(!empty($day['day_descriptions']))
📝 Day Overview
@foreach($day['day_descriptions'] as $desc)
{{ $desc['title'] ?? 'Activity' }}
{!! $formattedDescription !!}
@endforeach
@endif @if(!empty($day['services']))
🚌 Included Services
@foreach($day['services'] as $service)
@if(!empty($service['variation'])) @endif
🚌 {{ $service['service']['name'] ?? 'Service' }} Qty: {{ $service['qty'] ?? 1 }}
Type: {{ $service['variation'] }}
@endforeach
@endif @if(!empty($day['hotels']))
🏨 Accommodation
@foreach($day['hotels'] as $hotel)
@if(!empty($hotel['room_type'])) @endif
🏨 {{ $hotel['hotel']['name'] ?? 'Hotel' }} Rooms: {{ $hotel['qty'] ?? 1 }}
Room Type: {{ $hotel['room_type'] ?? 'Standard Room' }}
@endforeach
@endif @if(!empty($day['extra_services']))
➕ Additional Services
@foreach($day['extra_services'] as $extra)
⭐ {{ $extra['name'] ?? 'Extra Service' }} Qty: {{ $extra['qty'] ?? 1 }}
@endforeach
@endif
@endforeach
📋 IMPORTANT INFORMATION

✅ What's Included

{{ $invoice['includes'] ?? 'All services, accommodations, meals, and activities as specifically mentioned in the itinerary. Professional guide services, entrance fees, and transportation between destinations.' }}

❌ What's Not Included

{{ $invoice['excludes'] ?? 'Personal expenses, travel insurance, visa fees, airport taxes, tips and gratuities, optional activities, and any services not explicitly mentioned in the itinerary.' }}

📜 Terms & Conditions

{{ $invoice['terms_and_conditions'] ?? 'All bookings are subject to availability. Prices are subject to change without notice. Cancellation policies apply as per company guidelines. Force majeure conditions may affect itinerary execution.' }}
{{ $travelAgent['name'] ?? 'Premium Travel Agency' }}
Thank you for trusting us with your travel plans!
This personalized itinerary was carefully prepared by {{ $user['name'] ?? 'our travel expert' }}
on {{ $currentDate ?? now()->format('F j, Y') }}
For any questions or special requests, please contact us at:
📞 {{ $travelAgent['phone'] ?? 'Contact Number' }} | ✉️ {{ $travelAgent['email'] ?? 'Email Address' }}
© {{ date('Y') }} {{ $travelAgent['name'] ?? 'Travel Agency' }}. All rights reserved.