{{-- Subscription delivery slip — SAME boxed layout as pdf/invoice.blade.php (the Order Management bulk print) so riders and packers see one familiar format, but it is NOT an invoice: a subscription is paid once upfront, so no amounts are printed and the slip says PREPAID — COLLECT NOTHING. One slip per subscriber per delivery day; expects $slip from PdfController::subscriptionSlipPayload() and $invoice (company identity). --}}
@php $signaturePath = public_path('backend/template/images/signature.png'); @endphp|
Deliver From {{ $invoice['company_name'] }} @if ($invoice['company_address'] !== '-'){{ $invoice['company_address'] }} @endif @if ($invoice['company_phone'] !== '-')Ph: {{ $invoice['company_phone'] }} @endif @if ($invoice['company_email'] !== '-')Email: {{ $invoice['company_email'] }} @endif |
Deliver To {{ $slip['customer_name'] }} {{ $slip['address'] ?: 'No address on record — contact the customer before dispatch.' }} Ph: {{ $slip['mobile'] ?: '-' }} @if ($slip['account_name'])Account: {{ $slip['account_name'] }} @endif |
Customer Name {{ $slip['customer_name'] }} |
Subscriber ID {{ $slip['subscriber_id'] }} |
Delivery Date {{ $slip['delivery_date'] }} |
|
Plan {{ $slip['plan'] }} |
Delivery No. {{ $slip['day_label'] ?: '-' }} |
Payment Mode Prepaid |
||
|
Delivery Type Subscription — {{ $slip['food'] ?: 'Salad' }} |
Delivery Slot {{ $slip['slot'] ?: '-' }} |
|||
|
Subject: Subscription delivery for {{ $slip['subscriber_id'] }} on {{ $slip['delivery_date'] }} | Delivered By: {{ $slip['delivery_person'] ?: 'Not assigned' }} | Status: {{ $slip['status'] }} |
||||
| S.No | Item | Type | Kitchen | Quantity | ✓ |
|---|---|---|---|---|---|
| 1 | {{ $slip['salad'] }} | {{ $slip['food'] ?: '-' }} | {{ $slip['kitchen_status'] }} | 1 | ☐ |
| Total Items | 1 | ||||
|
PREPAID — COLLECT NOTHING
Already paid in advance as part of the {{ $slip['plan'] }} subscription.
|
|||||||||||||
|
Delivery Instructions {{ $slip['instructions'] ?: 'None.' }} @if ($slip['notes'])Admin note: {{ $slip['notes'] }} @endif |
|
||||||||||||