{{ $settings['company_name'] ?? 'Inventory Management System' }}

{{ $settings['company_address'] ?? '' }}

Phone: {{ $settings['company_phone'] ?? '' }}

Email: {{ $settings['company_email'] ?? '' }}

SALE INVOICE

Invoice No: {{ $sale->invoice_no }}

Date: {{ $sale->date ? $sale->date->format('d-m-Y') : 'N/A' }}

@if($sale->shipment_number)

Shipment No: {{ $sale->shipment_number }}

@endif
Customer Details
@if($sale->customer && $sale->customer->supplier_code)

Supplier Code: {{ $sale->customer->supplier_code }}

@endif

Name: {{ $sale->customer ? $sale->customer->name : 'N/A' }}

@if($sale->branch)

Branch: {{ $sale->branch->name }}

@endif

Phone: {{ $sale->customer ? $sale->customer->phone : 'N/A' }}

Address: {{ $sale->customer ? $sale->customer->address : 'N/A' }}

@foreach($sale->items as $key => $item) @endforeach
Sl Product Shipment No Unit Quantity Rate Amount
{{ $key + 1 }} {{ $item->product ? $item->product->name : 'N/A' }} {{ $item->shipment_number ?: 'N/A' }} {{ $item->product && $item->product->unit ? $item->product->unit->short_name : 'N/A' }} {{ $item->quantity }} {{ number_format($item->rate, 2) }} {{ number_format($item->quantity * $item->rate, 2) }}
Total: {{ number_format($sale->total, 2) }}
Paid Amount: {{ number_format($sale->paid, 2) }}
Due Amount: {{ number_format($sale->due, 2) }}
@if($sale->notes)
Notes

{{ $sale->notes }}

@endif

Customer Signature


Authorized Signature