| {{ ++$key }} |
{{ $data->customer_name }} |
{{ $data->sales_date }} |
{{ $globalSettings->invoice_prefix."-BI-".str_pad($data->sales_master_id, 8, '0', STR_PAD_LEFT) }} |
{{ number_format($data->memo_total,2) }} |
{{ number_format($data->discount,2) }} |
{{ number_format($data->advanced_amount,2) }} |
{{ number_format($data->memo_total - $data->advanced_amount -$data->discount,2) }} |
@php
$total += $data->memo_total;
$discount += $data->discount;
$paid += $data->advanced_amount;
$due += $data->memo_total - $data->advanced_amount -$data->discount;
@endphp
@endforeach