@php use App\Support\DocumentBrand; $settings = $businessSettings ?? \App\Models\Setting::businessSettings(); ['brand' => $brand, 'brandDark' => $brandDark] = DocumentBrand::colors($settings); $net = (float) ($booking->net_amount ?? $booking->total_amount); $paid = (float) $booking->paid_amount; $due = (float) $booking->due_amount; $settled = $due <= 0.01; $itemTitle = $booking->itemTitle('Your booking'); @endphp {{-- Email HTML, not web HTML: tables for layout and styles inlined on each element, because Outlook and Gmail strip