Purchase Details (Line Items)
{{-- Filters --}}
| # |
Invoice |
Date |
Supplier |
Type |
Item |
Qty |
Price |
Total |
Currency |
@forelse($rows as $i=>$r)
| {{ $i + 1 }} |
#{{ $r->invoice_number }} |
{{ $r->invoice_date }} |
{{ $r->supplier_name }} |
{{ $r->type_id == 2 ? 'Finished' : 'Raw' }}
|
Cat: {{ $r->cat_id }}
@if ($r->scat_id)
| Sub: {{ $r->scat_id }}
@endif
| Unit: {{ $r->unit_id }}
|
{{ number_format($r->qty, 2) }} |
{{ number_format($r->price, 2) }} |
{{ number_format($r->total, 2) }} |
{{ $r->currency_title }} |
@empty
| No data |
@endforelse