මහගල්කඩවල, ගල්ගමුව
Tel: 0779294928
{{ $invoice->invoice_number }}
Date: {{ $invoice->created_at->format('F d, Y') }}
Time: {{ $invoice->created_at->format('h:i A') }}
| Item Description | Qty | Unit Price | Amount (LKR) |
|---|---|---|---|
|
{{ $item->product_name }}
@if($item->product_barcode)
{{ $item->product_barcode }} @endif @if($item->discount > 0) Discount: -LKR {{ number_format($item->discount, 2) }} @endif |
{{ number_format($item->quantity, $item->quantity == (int) $item->quantity ? 0 : 2) }} | {{ number_format($item->unit_price, 2) }} | {{ number_format($item->line_total, 2) }} |
{{ ucfirst($payment->method) }}: LKR {{ number_format($payment->amount, 2) }} @if($payment->reference) (Ref: {{ $payment->reference }}) @endif
@endforeach @php $totalPaid = $invoice->payments->sum('amount'); $change = $totalPaid - $invoice->total; @endphp @if($change > 0)Change Given: LKR {{ number_format($change, 2) }}
@endif