@php
$cGrand = 0;
$currentCreditGroup = '';
$CCBgroupTotal = 0;
$CCBgrandTotal = 0;
@endphp
| {{ __('lng.Particulars') }} |
{{ __('lng.Receipt') }} |
@foreach ($creditRows as $voucher => $credits)
@php
$voucherTotal = $credits->sum('credit');
@endphp
@if ($voucherTotal != 0)
@php
$cGrand += $voucherTotal;
@endphp
| {{ $voucher }} |
@foreach ($credits as $row)
| {{ $row->ledger }} |
@currency($row->credit) |
@endforeach
| {{ __('lng.Total') }} |
@currency($voucherTotal) |
@endif
@endforeach
@foreach ($CreditCashBanks as $CreditCashBank)
@if ($currentCreditGroup != $CreditCashBank->group_name)
@if ($currentCreditGroup != '')
| Total {{ $currentCreditGroup }} |
@currency($CCBgroupTotal) |
@endif
| {{ $CreditCashBank->group_name }} |
@endif
| {{ $CreditCashBank->ledger_name }} |
@currency($CreditCashBank->total_credit) |
@endforeach
| {{ __('lng.Total') }} |
@currency($CCBgroupTotal) |