KHALID NAZIR INTERNATIONAL

Gujranwala, Pakistan

Mobile: +92 346 4320155

Page: 1
Invoice

{{ $bill->shop_name_snapshot ?? 'N/A' }} - {{ $bill->Shopkeeper->city }}

@if ($bill->Shopkeeper->phone ?? null)

{{ $bill->Shopkeeper->phone }}

@endif

Invoice #: {{ $bill->bill_number }}

Invoice Date: {{ \Carbon\Carbon::parse($bill->date_time)->format('d/m/Y') }}

@forelse($bill->BillItems as $item) @empty @endforelse
S # CODE DESCRIPTION LOCATION UNIT CTN PCS PCS/CTN TOTAL PCS UNIT PRICE AMOUNT
{{ $loop->iteration }} {{ $item->Item->item_code ?? 'N/A' }} {{ $item->Item->name ?? 'N/A' }} {{ $item->Item->location ?? 'N/A' }} {{ $item->Item->unit->name ?? 'N/A' }} {{ $item->quantity_cartons ?? 0 }} {{ $item->quantity_pieces ?? 0 }} {{ $item->pieces_per_carton ?? 0 }} {{ number_format($item->quantity_total, 2) }} {{ number_format($item->price_at_sale, 2) }} {{ number_format($item->price_total, 2) }}
No items found in this bill
@if ($bill->discount_percent > 0) @elseif($bill->discount_amount > 0) @endif @if ($bill->prev_balance > 0) @endif
Total Cartons: {{ $bill->BillItems->sum('quantity_cartons') }}
Total Quantity: {{ number_format($bill->BillItems->sum(function ($item) {return $item->quantity_pieces + $item->quantity_cartons * $item->pieces_per_carton;}),2) }}
Net Amount: Rs. {{ number_format($bill->net_amount, 2) }}
Discount ({{ $bill->discount_percent }}%): - Rs. {{ number_format($bill->discount_amount, 2) }}
Discount Amount: - Rs. {{ number_format($bill->discount_amount, 2) }}
Cash Received: - Rs. {{ number_format($bill->cash_received, 2) }}
Previous Balance: + Rs. {{ number_format($bill->prev_balance, 2) }}
Total Amount (Due): Rs. {{ number_format($bill->total_amount, 2) }}