@if(!empty($settings->site_logo) && file_exists(public_path().'/uploads/logo/'.$settings->site_logo)) Logo @else logo @endif @if(isset($purchase->warehouse))
{{ $purchase->warehouse->name }}

{{ $purchase->warehouse->address }}
@if(!empty($purchase->warehouse->mobile)) Tel: {{ $purchase->warehouse->mobile }}
@endif @if(!empty($settings->vat_reg_no)) Vat Reg No: {{ $settings->vat_reg_no }} @endif

@endif
Inv: {{ $purchase->invoice_code }}
Customer: {{ $purchase->customer->name ?? 'Walk-in' }}
Phone: {{ $purchase->customer->mobile ?? 'N/A' }}
Date: {{ date('d M, Y', strtotime($purchase->date)) }}
Time: {{ date('h:i A', strtotime($purchase->created_at)) }}
Sales By: {{ $purchase->createdBy->first_name ?? 'Admin' }}
@foreach($purchase->saleDetails as $detail) @endforeach
Product Qty Price Total
{{ $detail->product->name ?? 'N/A' }}
{{ $detail->product->code ?? '' }}
{{ $detail->quantity }} {{ $detail->product_price + 0 }} {{ $detail->total_item_price + 0 }}
@if($purchase->tax > 0) @endif @if($purchase->discount > 0) @endif @if($purchase->shipping_cost > 0) @endif @if(isset($previous_due) && $previous_due > 0) @else @endif
Subtotal: {{ $purchase->saleDetails->sum('total_item_price') + 0 }}
VAT ({{ $settings->vat_percentage ?? 0 }}%): {{ $purchase->tax + 0 }}
Discount: {{ $purchase->discount + 0 }}
Shipping: {{ $purchase->shipping_cost + 0 }}
Grand Total: {{ $sales_amount + 0 }}
Paid Amount: {{ $paid_amount + 0 }}
Previous Due: {{ $previous_due + 0 }}
Net Due: {{ $net_outstanding + 0 }}
Due Amount: {{ ($sales_amount - $paid_amount) + 0 }}

In Word: {{ ucfirst($in_word). ' Taka Only' }}

Thank you for shopping with us!

Powered by: GoodLuck IT | Call: 01833 334888

QR Code
Back to Sale