@foreach ([1 => 'Receipts', 2 => 'Payments'] as $index => $recPay)
| {{ $recPay }} |
| Detail |
AmoNominalunt |
@if ($index == 1)
@if (array_key_exists($cash_glId, $slLedgers))
| Opening Balance |
{{ number_format($ttlGl, 2) }} |
@endif
@endif
@foreach ($accTypes as $accType)
@if (array_key_exists($accType->id, $glLedgers))
@foreach ($glLedgers[$accType->id] as $glLedger)
@if (array_key_exists($glLedger->id, $slLedgers))
@if (!empty($html))
| {{ $glLedger->ledger_head }} |
{{ number_format($ttlGl, 2) }} |
@endif
@endif
@endforeach
@endif
@endforeach
@if ($index == 2)
@if (array_key_exists($cash_glId, $slLedgers))
| Closing Balance |
{{ number_format($ttlGl, 2) }} |
@endif
@endif
| Total |
@if ($set_currency->currency_position == 2)
{{ $set_currency->symbol }}
@endif
{{ number_format($ttlAmount, 2) }}
@if ($set_currency->currency_position == 1)
{{ $set_currency->symbol }}
@endif
{{ $set_currency->currency_text }}
|
@if ($index == 1)
| |
@endif
@endforeach