{{ $count }} |
{{ date('d-m-Y', strtotime($purchase['purchase_date'])) }} |
{{ $purchase['purchase_voucher_number'] }} |
{{ $purchase['supplier_name'] }} |
{{ number_format($purchase['total_amount']) }} |
{{ number_format($purchase['transport_charges']) }} |
{{ number_format($purchase['other_charges']) }} |
{{ number_format($purchase['tax']) }} |
{{ number_format($purchase['discount_amount']) }} |
{{ number_format($purchase['total_amount'] + $purchase['transport_charges'] + $purchase['other_charges'] + $purchase['tax'] - $purchase['discount_amount']) }}
|
{{ number_format($purchase['paid_amount']) }} |
{{ number_format($purchase['total_amount'] + $purchase['transport_charges'] + $purchase['other_charges'] + $purchase['tax'] - $purchase['discount_amount'] - $purchase['paid_amount']) }}
|
{{ date('d-m-Y', strtotime($purchase['due_date'])) }} |
{{ $purchase['remark'] }} |
@php
$count++;
$totalDebit +=
$purchase['total_amount'] +
$purchase['transport_charges'] +
$purchase['other_charges'] +
$purchase['tax'] -
$purchase['discount_amount'] -
$purchase['paid_amount'];
$totalAmount += $purchase['total_amount'];
@endphp
@endforeach
@endif