{{-- TOOLBAR --}}
Delivery Challan {{ $challanNumber }} 2 Copies on 1 Page
📄 Invoice
@php $copies = [ ['label' => 'Original', 'class' => 'original-label'], ['label' => 'Duplicate', 'class' => 'duplicate-label'], ]; $sym = $company->currency_symbol ?? '৳'; $totalQty = $invoice->items->sum('qty'); $totalItems = $invoice->items->count(); @endphp @foreach($copies as $copy)
{{-- COPY LABEL --}}
{{ $copy['label'] }}
{{-- HEADER --}}
@if($company->logo) @endif
{{ $company->name }}
@if($company->address){{ $company->address }}
@endif @if($company->phone)📞 {{ $company->phone }}@if($company->email)  ·  ✉ {{ $company->email }}@endif@endif @if($company->tax_id)
BIN / TIN: {{ $company->tax_id }}@endif
Delivery
Challan
{{ $challanNumber }}
Ref. Invoice: {{ $invoice->number }}
{{-- META STRIP --}}
Challan Date
{{ now()->format('d M Y') }}
Invoice Date
{{ $invoice->date->format('d M Y') }}
Delivery Date
{{ $invoice->salesOrder ? ($invoice->salesOrder->delivery_date ? $invoice->salesOrder->delivery_date->format('d M Y') : '—') : '—' }}
Vehicle / Mode
{{ $deliveryMode ?? '—' }}
Driver / LR No.
{{ $lrNumber ?? '—' }}
{{-- BODY --}}
{{-- PARTIES --}}
Consignor (From)
{{ $company->name }}
@if($company->address)
{{ $company->address }}
@endif @if($company->phone)
📞 {{ $company->phone }}
@endif @if($company->tax_id)
BIN / TIN: {{ $company->tax_id }}
@endif
Consignee (To)
{{ $invoice->customer->name }}
@if($invoice->salesOrder && $invoice->salesOrder->delivery_address)
{{ $invoice->salesOrder->delivery_address }}
@elseif($invoice->customer->address)
{{ $invoice->customer->address }}
@endif @if($invoice->customer->contact_person)
Contact: {{ $invoice->customer->contact_person }}
@endif @if($invoice->customer->phone)
📞 {{ $invoice->customer->phone }}
@endif @if($invoice->customer->tax_id)
BIN / TIN: {{ $invoice->customer->tax_id }}
@endif
{{-- ITEMS TABLE (qty only — NO prices on challan) --}} @foreach($invoice->items as $i => $line) @endforeach
# Item / Product Description HSCode Qty Unit Cartons/
Pkgs
Batch No. Received
(✓)
{{ $i+1 }}
{{ $line->item->name }}
@if($line->description)
{{ $line->description }}
@endif
{{ $line->item->barcode ?? '—' }} {{ number_format($line->qty, 0) }} {{ $line->unit }}
Total {{ number_format($totalQty, 0) }}
{{-- SUMMARY --}}
Total Items (SKUs)
{{ $totalItems }}
Total Quantity
{{ number_format($totalQty, 0) }}
Total Packages
Gross Weight
Invoice Value
{{ $sym }}{{ number_format($invoice->total,2) }}
{{-- CONDITION --}}
Conditions of Delivery: Goods once delivered cannot be returned without prior written consent. All shortages / damages must be reported at time of delivery. This challan must be signed and returned.
{{-- .body --}} {{-- SIGNATURES --}}
Dispatched By
{{ $invoice->createdBy->name ?? '' }}
Date: ___________
Checked By
Store / Warehouse
Date: ___________
Driver / Carrier
Name & ID
Date: ___________
Received By (Customer)
Name & Stamp
Date: ___________
{{-- FOOTER --}}
{{ $company->name }} · {{ $company->address ?? '' }} Challan {{ $challanNumber }} · {{ $copy['label'] }} Copy · Printed {{ now()->format('d M Y H:i') }}
{{-- .copy --}} @endforeach
{{-- .page --}}
{{-- .page-wrap --}}