@extends('layouts.adminapp') @section('title') {{ __('lng.PaymentReceipt') }} - {{ __('lng.Print') }} @endsection @section('active_report', 'active') @section('open_report', 'open') @section('open_account', 'open') @section('active_account', 'active') @section('payment_receipt', 'active') @section('content')

{{ __('lng.Print') }}

@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
@foreach ($creditRows as $voucher => $credits) @php $voucherTotal = $credits->sum('credit'); @endphp @if ($voucherTotal != 0) @php $cGrand += $voucherTotal; @endphp @foreach ($credits as $row) @endforeach @endif @endforeach @foreach ($CreditCashBanks as $CreditCashBank) @if ($currentCreditGroup != $CreditCashBank->group_name) @if ($currentCreditGroup != '') @endif @endif @endforeach
{{ __('lng.Particulars') }} {{ __('lng.Receipt') }}
{{ $voucher }}
{{ $row->ledger }} @currency($row->credit)
{{ __('lng.Total') }} @currency($voucherTotal)
Total {{ $currentCreditGroup }} @currency($CCBgroupTotal)
{{ $CreditCashBank->group_name }}
{{ $CreditCashBank->ledger_name }} @currency($CreditCashBank->total_credit)
{{ __('lng.Total') }} @currency($CCBgroupTotal)
@php $dGrand = 0; $currentDebitGroup = ''; $DCBgroupTotal = 0; $DCBgrandTotal = 0; @endphp
@foreach ($debitRows as $voucher => $debits) @php $voucherTotal = $debits->sum('debit'); @endphp @if ($voucherTotal != 0) @php $dGrand += $voucherTotal; @endphp @foreach ($debits as $row) @endforeach @endif @endforeach @foreach ($DebitCashBanks as $DebitCashBank) @if ($currentDebitGroup != $DebitCashBank->group_name) @if ($currentDebitGroup != '') @endif @endif @endforeach
{{ __('lng.Particulars') }} {{ __('lng.Payment') }}
{{ $voucher }}
{{ $row->ledger }} @currency($row->debit)
{{ __('lng.Total') }} @currency($voucherTotal)
Total {{ $currentDebitGroup }} @currency($DCBgroupTotal)
{{ $DebitCashBank->group_name }}
{{ $DebitCashBank->ledger_name }} @currency($DebitCashBank->total_debit)
{{ __('lng.Total') }} @currency($DCBgroupTotal)
{{ __('lng.GrandTotal') }} : @currency($cGrand + $CCBgrandTotal) {{ __('lng.GrandTotal') }} : @currency($dGrand + $DCBgrandTotal)
{{ __('lng.Back') }}
@endsection