{{-- Booking Code + Status --}}
Booking Code: #{{ $booking->booking_code }}
{{ ucfirst(str_replace('_', ' ', $booking->booking_status)) }}
Booked on: {{ $booking->created_at->format('M d, Y \a\t h:i A') }}
{{-- Warehouse Info --}}
Warehouse Information

{{ $booking->warehouse->address }}

{{ $booking->warehouse->city }}, {{ $booking->warehouse->state }} {{ $booking->warehouse->zipcode }}

Start Date

{{ $booking->start_date->format('M d, Y') }}

End Date

{{ $booking->end_date->format('M d, Y') }}

Rental Period

{{ $booking->rental_days }} Day(s)

Product Category

{{ $booking->productCategory->name }}

Storage Type

{{ $booking->storageType->name }}

{{-- Space Details --}}
Space Details
@if ($booking->input_type === 'pallet') Pallet Dimensions @else Carton Dimensions @endif

Input Method

{{ ucfirst($booking->input_type) }}

Total Space

{{ number_format($booking->calculated_sqft, 2) }} Sq.Ft

Pallets

{{ $booking->calculated_pallets ?? '-' }}

Space Price

${{ number_format($booking->space_price, 2) }}

{{-- Conditional Dimensions Display --}}
@if ($booking->input_type === 'pallet')

Count

{{ $booking->pallet_count }}

Length

{{ $booking->pallet_length }}

Width

{{ $booking->pallet_width }}

Height

{{ $booking->pallet_height ?? 'N/A' }}

@else {{-- Example for carton or other input types --}}

Cartons

{{ $booking->carton_count ?? '-' }}

Length

{{ $booking->carton_length ?? '-' }}

Width

{{ $booking->carton_width ?? '-' }}

Height

{{ $booking->carton_height ?? 'N/A' }}

@endif
{{-- Labor Services --}} @if($booking->laborItems?->count() > 0)
Labor Services
@foreach($booking->laborItems as $item) @endforeach
Labor Type Qty Hours Rate/Hour Total
{{ $item->laborType->name }} {{ $item->quantity }} {{ $item->hours }} ${{ number_format($item->rate_per_hour, 2) }} ${{ number_format($item->total_cost, 2) }}
Total Labor Cost: ${{ number_format($booking->labor_cost, 2) }}
@endif {{-- Equipment Rentals --}} @if($booking->equipmentItems?->count() > 0)
Equipment Rentals
@foreach($booking->equipmentItems as $item) @endforeach
Equipment Qty Charge Type Rate Usage Total
{{ $item->equipmentType->name }} {{ $item->quantity }} {{ ucfirst($item->charge_type) }} ${{ number_format($item->rate, 2) }} {{ $item->usage_amount }} ${{ number_format($item->total_cost, 2) }}
Total Equipment Cost: ${{ number_format($booking->equipment_cost, 2) }}
@endif {{-- Additional Services --}} @if($booking->services?->count() > 0)
Additional Services
@foreach($booking->services as $service) @endforeach
Service Quantity Unit Price Total
{{ $service->pivot->service_name }} {{ $service->pivot->quantity }} ${{ number_format($service->pivot->unit_price, 2) }} ${{ number_format($service->pivot->total_cost, 2) }}
Total Services Cost: ${{ number_format($booking->additional_services_cost, 2) }}
@endif {{-- Final Payment Summary --}}
Payment Summary
@if($booking->labor_cost > 0) @endif @if($booking->equipment_cost > 0) @endif @if($booking->additional_services_cost > 0) @endif @if($booking->tax_amount > 0) @endif
Space Rental Cost: ${{ number_format($booking->space_price, 2) }}
Labor Cost: ${{ number_format($booking->labor_cost, 2) }}
Equipment Cost: ${{ number_format($booking->equipment_cost, 2) }}
Additional Services: ${{ number_format($booking->additional_services_cost, 2) }}
Subtotal: ${{ number_format($booking->subtotal, 2) }}
Tax & Fees: ${{ number_format($booking->tax_amount, 2) }}
Total Amount Paid:
${{ number_format($booking->final_price, 2) }}
{{-- Notes --}} @if($booking->notes)
Notes

{{ $booking->notes }}

@endif {{-- Extend Button --}} @if($booking->canBeExtended())
@endif {{-- Styles --}} {{-- Copy Script --}}