| {{ $item->id }} |
{{ $item->invoice_no }} |
{{ $item->bandwidthSaleCustomer->customer_name ?? '' }} |
| Service |
Quantity |
Rate |
Vat |
From |
To |
Line Total |
@foreach ($item->sateItems as $row)
|
{{ $row->service->name ?? '' }}
|
{{ $row->quantity ?? '' }}
|
{{ $row->rate ?? '' }}
|
{{ $row->vat ?? '' }}
|
{{ date('d-M-Y', strtotime($row->from_date)) }}
|
{{ date('d-M-Y', strtotime($row->to_date)) }}
|
{{ number_format($row->line_total, 2) }}
|
@endforeach
|
{{ $item->billing_date }} |
{{ $item->total }} |
{{ $item->discount }} |
{{ $item->paid }} |
@php
$d_amount = $item->total - ($item->paid + $item->discount);
@endphp
{{ number_format($d_amount, 2) }}
|
@php
$total += $item->total;
$discount += $item->discount;
$paid += $item->paid;
$due += $item->total - ($item->paid + $item->discount);
@endphp
|
@endforeach
|
|
|
|
Total |
{{ number_format($total, 2) }} |
{{ number_format($discount, 2) }} |
{{ number_format($paid, 2) }} |
{{ number_format($due, 2) }} |
|