@php($partyLabel = $quotation->company ? 'Company' : 'Customer')
SSM Travels
Travel Booking & Transportation Services
G-4, Green House Apartment, McDonalds Rd,
Bharathiyar Salai, Cantonment, Tiruchirappalli,
Tamil Nadu 620001
+91 99943 67799
Quotation & {{ $partyLabel }} Details
{{ $partyLabel }} name
{{ $quotation->company?->name ?? $quotation->customer?->name }}
{{ $quotation->company?->billing_address ?? $quotation->customer?->address ?? 'Address not provided' }}
Contact
{{ $quotation->company?->mobile ?? $quotation->customer?->mobile }}
Email
{{ $quotation->company?->preferred_invoice_email ?? $quotation->company?->email ?? $quotation->customer?->email ?? 'Not provided' }}
Tax / GST number
{{ $quotation->company?->tax_number ?? $quotation->customer?->tax_number ?? 'Not provided' }}
Quotation number
{{ $quotation->quotation_number }}
Quotation date
{{ $quotation->created_at->format('d M Y') }}
Trip Details
Pickup
{{ $quotation->pickup_location }}
Drop
{{ $quotation->drop_location }}
Trip dates
{{ $quotation->trip_start_date->format('d M Y') }} to {{ $quotation->trip_end_date?->format('d M Y') ?? 'Open' }}
Vehicle type
{{ $quotation->vehicle_type }}
Pricing Summary
@foreach ([['Waiting charge', $quotation->waiting_charge], ['Toll charge', $quotation->toll_charge], ['Parking charge', $quotation->parking_charge], ['Additional charge', $quotation->additional_charge]] as [$label, $amount]) @if ((float) $amount > 0)@endif @endforeach @if ((float) $quotation->discount > 0)@endif
DescriptionAmount (INR)
{{ str($quotation->pricing_method)->replace('_', ' ')->title() }} rate{{ number_format((float) $quotation->pricing_rate, 2) }}
{{ $label }}{{ number_format((float) $amount, 2) }}
Discount- {{ number_format((float) $quotation->discount, 2) }}
Tax{{ number_format((float) $quotation->tax_percentage, 2) }}%
Estimated TotalINR {{ number_format((float) $quotation->estimated_amount, 2) }}
@if ($quotation->additional_details)
Additional Details
{{ $quotation->additional_details }}
@endif