{{ $settings->shop_address ?? '123 Business Avenue, Rajagiriya, Sri Lanka' }}
Tel: {{ $settings->shop_phone ?? '+94 11 234 5678' }} | Email: {{ $settings->shop_email ?? 'admin@poslink.lk' }}
Document No: {{ $grn->grn_no }}
@if($grn->invoice_no)Invoice No: {{ $grn->invoice_no }}
@endif| # | Item & Variation | Paid Qty | Free Qty | Unit Cost | Disc. | Total |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} |
{{ $item->product->name ?? 'N/A' }}
@php
$label = $item->productVariation->variationType->name ?? null;
@endphp
@if($label && !in_array(strtolower($label), ['default', 'n/a']))
Variation: {{ $label }}
@endif
ID: {{ $item->product->code ?? 'N/A' }}
|
{{ number_format($item->received_qty, 0) }} | {{ $item->free_qty > 0 ? '+'.number_format($item->free_qty, 0) : '-' }} | {{ number_format($item->unit_cost, 2) }} | -{{ number_format($item->discount_amount, 2) }} | {{ number_format($line_total, 2) }} |
| Items Subtotal: | Rs {{ number_format($items_subtotal, 2) }} |
| Returns Offset: | - Rs {{ number_format($grn->return_adjustment, 2) }} |
| Payable Amount: | Rs {{ number_format($grn->grand_total, 2) }} |
| Return Ref: {{ $ret->pr_code }} ({{ $ret->return_date }}) | - Rs {{ number_format($ret->total_amount, 2) }} |