@include('PrintHeader.header')
{{ __('lng.PaymentReceipt') }}
{{ __('lng.FromDate') }}: {{ date('d-m-Y', strtotime($from)) }},
{{ __('lng.ToDate') }}: {{ date('d-m-Y', strtotime($to)) }},
@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) |
@php
$dGrand = 0;
$currentDebitGroup = '';
$DCBgroupTotal = 0;
$DCBgrandTotal = 0;
@endphp
| {{ __('lng.Particulars') }} |
{{ __('lng.Payment') }} |
@foreach ($debitRows as $voucher => $debits)
@php
$voucherTotal = $debits->sum('debit');
@endphp
@if ($voucherTotal != 0)
@php
$dGrand += $voucherTotal;
@endphp
|
{{ $voucher }} |
@foreach ($debits as $row)
| {{ $row->ledger }} |
@currency($row->debit) |
@endforeach
| {{ __('lng.Total') }} |
@currency($voucherTotal) |
@endif
@endforeach
@foreach ($DebitCashBanks as $DebitCashBank)
@if ($currentDebitGroup != $DebitCashBank->group_name)
@if ($currentDebitGroup != '')
| Total {{ $currentDebitGroup }} |
@currency($DCBgroupTotal) |
@endif
| {{ $DebitCashBank->group_name }} |
@endif
| {{ $DebitCashBank->ledger_name }} |
@currency($DebitCashBank->total_debit) |
@endforeach
| {{ __('lng.Total') }} |
@currency($DCBgroupTotal) |
| {{ __('lng.GrandTotal') }} :
@currency($cGrand + $CCBgrandTotal) |
{{ __('lng.GrandTotal') }} :
@currency($dGrand + $DCBgrandTotal) |