@php $shopName = $appSettings['shop_name'] ?? 'SAAI DIGITAL'; $shopTagline = $appSettings['shop_tagline'] ?? 'Printing Press & Digital Solutions'; $shopAddress = $appSettings['shop_address'] ?? ''; $shopPhone = $appSettings['shop_phone'] ?? ''; $shopEmail = $appSettings['shop_email'] ?? ''; $shopLogo = !empty($appSettings['shop_logo']) ? asset($appSettings['shop_logo']) : asset('images/saai-final-logo.png'); $item = $booking->items->first(); $payment = $booking->payments; $advance = (float) ($payment?->advance_amount ?? 0); $balance = max(0, (float) $booking->grand_total - $advance); @endphp
{{ $shopTagline }}
@if($shopAddress){{ $shopAddress }}
@endif{{ $shopPhone }} {{ $shopEmail ? ' · ' . $shopEmail : '' }}
{{ $booking->booking_no }}
Date: {{ date('d M, Y', strtotime($booking->booking_date)) }}
Status: {{ $booking->status }}
Billed To
{{ $booking->customer?->name ?? $booking->customer_name }}
{{ $booking->address ?: '-' }} · Mobile: {{ $booking->mobile }}
| Job / Description | Product | Qty | Total |
|---|---|---|---|
| {{ $booking->job_name }} | {{ $item?->product_name ?? '-' }} | {{ $item?->quantity ?? 1 }} | ₹{{ number_format($booking->grand_total, 2) }} |