{{-- Half-page order receipt used by the BULK print (two orders per A4 page). Same information blocks as pdf/invoice.blade.php, condensed: identity + bill-to strip, items, totals. Long item lists are capped so a slip never spills into the other half; the full-page invoice remains the single-order download. Expects $order (real Order or the salad pseudo-order) and $invoice (invoicePayload()). No / — it is written inside a bulk document. --}} @php $address = $order->address_snapshot ?? []; $customerName = $address['name'] ?? $order->user->name ?? '-'; $customerMobile = $address['mobile'] ?? $order->user->mobile ?? '-'; $customerAddress = collect([$address['address_line_1'] ?? null, $address['address_line_2'] ?? null, $address['city'] ?? null, $address['pincode'] ?? $order->selected_pincode ?? null])->filter()->join(', '); $maxRows = 9; $items = $order->items->values(); $hidden = max(0, $items->count() - $maxRows); $items = $items->take($maxRows); @endphp

Bill To

{{ $customerName }}

{{ $customerAddress ?: '-' }}

Ph: {{ $customerMobile }}

Invoice No

{{ $invoice['invoice_no'] }}

Invoice Date

{{ $invoice['invoice_date'] }}

Order No

{{ $order->order_no }}

Payment

{{ $invoice['payment_mode'] ?? '-' }}

{{ $invoice['delivery_type_label'] }} · {{ $invoice['delivery_time_label'] }}

{{ $invoice['delivery_time'] }}

Delivered By

{{ $invoice['delivery_person'] ?: '-' }}

@foreach ($items as $item) @endforeach @if ($hidden > 0) @endif
# Product Unit Qty Price Total
{{ $loop->iteration }} {{ $item->product_name }}@foreach ($item->addons ?? [] as $addon) + {{ $addon['name'] }}@if ($addon['qty'] > 1) ×{{ $addon['qty'] }}@endif@endforeach {{ $item->pricing_label ?? $item->pricing->unit->name ?? '-' }} {{ $item->quantity }} ₹{{ number_format((float) ($item->pricing->mrp ?? $item->price), 2) }} ₹{{ number_format((float) $item->total, 2) }}
+ {{ $hidden }} more {{ Str::plural('item', $hidden) }} — see the full invoice for the complete list.

{{ $invoice['total_quantity'] }} items · {{ $invoice['subject'] }}

@if (($invoice['coupon_discount'] ?? 0) > 0)

Coupon {{ $invoice['coupon_code'] ? '(' . $invoice['coupon_code'] . ')' : '' }} -₹{{ number_format($invoice['coupon_discount'], 2) }}

@endif
@if ($invoice['product_discount'] > 0)@endif @if ($invoice['tax_total'] > 0)@endif @if ($invoice['delivery_tip'] > 0)@endif
Sub Total₹{{ number_format($invoice['subtotal'], 2) }}
Product Discount-₹{{ number_format($invoice['product_discount'], 2) }}
Tax₹{{ number_format($invoice['tax_total'], 2) }}
Delivery Fee@if ($invoice['delivery_fee'] > 0)₹{{ number_format($invoice['delivery_fee'], 2) }}@else FREE @endif
Delivery Tip₹{{ number_format($invoice['delivery_tip'], 2) }}
Total Amount₹{{ number_format($invoice['grand_total'], 2) }}