{{ $app_settings['title'] ?? config('app.dev_name') }}

Address: {{ $app_settings['address'] ?? '' }}

Mobile: {{ $app_settings['mobile'] ?? config('app.dev_mobile') }}

Email: {{ $app_settings['email'] ?? config('app.dev_email') }}

Purchase Invoice ({{ $purchase->purchase_type }}) barcode
Invoice: {{ $purchase->purchase_code }} Date: {{ $purchase->purchase_date->format('d M, Y') }}

Supplier Address

{{ $purchase->supplier_id ? $supplier->name_en : $app_settings['title'] ?? config('app.dev_name') }}

Address: {{ $purchase->supplier_id ? $supplier->address : $app_settings['address'] ?? '' }}

Mobile: {{ $purchase->supplier_id ? $supplier->mobile : $app_settings['mobile'] ?? config('app.dev_mobile') }}

Email: {{ $purchase->supplier_id ? $supplier->email : $app_settings['email'] ?? config('app.dev_email') }}

Shipping Address

{{ $app_settings['title'] ?? config('app.dev_name') }}

Address: {{ $app_settings['address'] ?? '' }}

Mobile: {{ $app_settings['mobile'] ?? config('app.dev_mobile') }}

Email: {{ $app_settings['email'] ?? config('app.dev_email') }}

@foreach ($purchases as $item) @endforeach
#SL Product Price Quantity Unit Price Unit Total Discount Total Amount
{{ $loop->iteration }} {{ $item->product_id ? $item->product->product_code : '' }} - {{ $item->product_id ? $item->product->name_en : '' }} {{ $item->purchase_price }} {{ $item->quantity }} {{ $item->per_unit_price }} {{ $item->per_unit_total }} {{ $item->total_discount }} {{ $item->total }}
Total {{ number_format($purchases->sum('purchase_price'), 2) }} {{ $purchases->sum('quantity') }} {{ number_format($purchases->sum('per_unit_price'), 2) }} {{ number_format($purchases->sum('per_unit_total'), 2) }} {{ number_format($purchases->sum('total_discount'), 2) }} {{ number_format($purchases->sum('total'), 2) }}
Sub Total {{ number_format($purchases->sum('total'), 2) }}
Discount {{ number_format($purchase->discount, 2) }}
Other Charge {{ number_format($purchase->other_charge, 2) }}
Grand Total {{ number_format($purchase->net_payable, 2) }}
Amount in words: {{ $in_word->setNumber($purchase->net_payable)->getWord() }} Taka Only.
Supplier Signature Authorised Signature