{{ $booking->status_label }}
Booking Invoice
{{ $booking->customer_name }}
@if($booking->customer_email)
{{ $booking->customer_email }}
@endif @if($booking->customer_phone)
{{ $booking->customer_phone }}
@endif @if($booking->customer_address)
{{ $booking->customer_address }}
@endif @if($booking->customer_city || $booking->customer_state || $booking->customer_postal_code)
{{ implode(', ', array_filter([$booking->customer_city, $booking->customer_state, $booking->customer_postal_code])) }}
@endif @if($booking->customer_country)
{{ $booking->customer_country }}
@endif
{{ $businessSetup?->company_name ?: config('app.name') }}
@if($businessSetup?->email)
{{ $businessSetup->email }}
@endif @if($businessSetup?->phone)
{{ $businessSetup->phone }}
@endif @if($businessSetup?->address)
{{ $businessSetup->address }}
@endif
Booking ID {{ $booking->booking_number }}
Created {{ $booking->created_at->format('F j, Y') }}
Booking Date {{ $booking->start_datetime->format('F j, Y') }}
Total (USD) ${{ number_format($booking->total_amount, 2) }}
@foreach($booking->items as $item) @endforeach
Product Rate Amount
{{ $item->product_name }}
{{ $booking->start_datetime->format('D M j, Y') }}
{{ $booking->start_datetime->format('g:i A') }} - {{ $booking->end_datetime->format('g:i A') }} @if($booking->rate_label)
{{ $booking->rate_label }} @endif
Qty: {{ $item->quantity }} @ ${{ number_format($item->unit_price, 2) }}
@if($item->rate_type === 'per_hour') {{ (int) $item->duration_hours }} Hour{{ (int) $item->duration_hours != 1 ? 's' : '' }} @elseif($item->rate_type === 'per_day') {{ max(1, ceil($item->duration_hours / 24)) }} Day{{ ceil($item->duration_hours / 24) != 1 ? 's' : '' }} @elseif($item->rate_type === 'per_24_hours') {{ max(1, ceil($item->duration_hours / 24)) }} x 24 Hours @else 1 Booking @endif
${{ number_format($item->subtotal, 2) }}
Booking Information
@if($booking->rental_location)
Rental Location: {{ $booking->rental_location }}
@endif
Wedding Booking: {{ $booking->is_wedding ? 'Yes' : 'No' }}
@if($booking->is_wedding && $booking->bride_groom_name)
Bride & Groom: {{ $booking->bride_groom_name }}
@endif @if($booking->purpose)
Purpose: {{ $booking->purpose }}
@endif
@php $latestTransaction = $booking->transactions->first(); @endphp Transactions: {{ optional($latestTransaction?->processed_at)->format('m/d/y') ?: $booking->created_at->format('m/d/y') }} - ${{ number_format($booking->amount_paid, 2) }} @if($latestTransaction) ({{ $latestTransaction->status_label }}{{ $latestTransaction->payment_display ? ' - ' . $latestTransaction->payment_display : '' }}) @endif
@foreach($booking->tax_lines ?? [] as $tl) @endforeach @if($booking->discount_amount > 0) @endif @if($booking->balance_due > 0) @endif
Sub-Total ${{ number_format($booking->subtotal, 2) }}
{{ $tl['name'] }} ({{ $tl['percent'] }}%) ${{ number_format($tl['amount'], 2) }}
Discount{{ $booking->discount_code ? ' (' . $booking->discount_code . ')' : '' }} -${{ number_format($booking->discount_amount, 2) }}
Total ${{ number_format($booking->total_amount, 2) }}
Amount Paid ${{ number_format($booking->amount_paid, 2) }}
Balance Due ${{ number_format($booking->balance_due, 2) }}
@if($booking->bookingNotes->where('show_on_invoice', true)->isNotEmpty())
Notes
@foreach($booking->bookingNotes->where('show_on_invoice', true) as $note)
{{ $note->note }}
@endforeach
@endif @if(!empty($businessSetup?->company_policy))
Rental Policy
{!! $businessSetup->company_policy !!}
@endif