Shalimar Kitchen
Ramarbagh, Kutubpur, Fatullah, Narayanganj
Mobile No:01711-886946, 01711886947
Supplier Name : {{ $supName }}
| SL |
Date |
Description |
Debit |
Credit |
Closing Balance |
@php
$g_total_debit_amt = 0;
$g_total_cedit_amt = 0;
@endphp
@if (count($supLedgerData) > 0)
@foreach ($supLedgerData as $sk => $sv)
@php
$supplier_id = $sk;
$sup = Helper::findData('suppliersetup', ['id' => $supplier_id]);
if ($sup) {
$supplier_name = $sup->supplier_name;
} else {
$supplier_name = '';
}
@endphp
| Supplier Name: |
{{ $supplier_name }} |
|
|
|
|
@php
$total_debit_amt = 0;
$total_cedit_amt = 0;
@endphp
@foreach ($supLedgerData[$supplier_id] as $k => $v)
@php
$sl = $v['sl'];
$date = $v['date'];
$description = $v['description'];
$debit_amt = $v['debit_amt'];
$credit_amt = $v['credit_amt'];
$clBal = $v['clBal'];
$total_debit_amt = $total_debit_amt + $debit_amt;
$total_cedit_amt = $total_cedit_amt + $credit_amt;
$g_total_debit_amt = $g_total_debit_amt + $debit_amt;
$g_total_cedit_amt = $g_total_cedit_amt + $credit_amt;
@endphp
| {{ $sl }} |
{{ $date }} |
{{ $description }} |
{{ $debit_amt }} |
{{ $credit_amt }} |
{{ $clBal }} |
@endforeach
| Total |
{{ $total_debit_amt }} |
{{ $total_cedit_amt }} |
|
@endforeach
| Grand Total |
{{ $total_debit_amt }} |
{{ $total_cedit_amt }} |
|
@endif
@endsection
@push('scripts')
@endpush