@foreach ($accountingVouchers as $accountingVoucher)
@if ($pageLogo != null) Logo @endif

CASH RECEIPT

@if ($accountingVoucher->accountingVoucherLedgers->count() > 0)
Voucher Details
Voucher No : {{ $accountingVoucher->voucher_number }}
Date : {{ \Carbon\Carbon::parse($accountingVoucher->voucher_date)->format('d M Y') }}
@foreach ($accountingVoucher->accountingVoucherLedgers as $key => $accountingVoucherLedger) @endforeach
Particulars Debit Credit
{{ $accountingVoucherLedger->ledger->name }} {{ $accountingVoucherLedger->dr_or_cr == 'Dr' ? $accountingVoucherLedger->amount : '' }} {{ $accountingVoucherLedger->dr_or_cr == 'Cr' ? $accountingVoucherLedger->amount : '' }}
@else
Received From
@if($accountingVoucher->customer != null) {{ $accountingVoucher->customer->name }} @else {{ $accountingVoucher->creditLedger->name }} @endif
@if($accountingVoucher->customer != null) {{ $accountingVoucher->customer->mobile }} @else {{ $accountingVoucher->creditLedger->mobile_no }} @endif
{{ $accountingVoucher->creditLedger->address }}
GST No : {{ $accountingVoucher->creditLedger->gst }}
Voucher Details
Voucher No : {{ $accountingVoucher->voucher_number }}
Date : {{ \Carbon\Carbon::parse($accountingVoucher->voucher_date)->format('d M Y') }}

@endif
Amount : {{ $accountingVoucher->amount }}
@if ($company->show_outstanding) @if($accountingVoucher->is_double_entry != 1)
Previous Balance : {{ $accountingVoucher->previousBalance }} {{ $accountingVoucher->previousBalanceDrCr }}
Today Summary @foreach ($accountingVoucher->todayVouchers as $todayVoucher)
{{ $todayVoucher->voucher_number }} - ({{ $todayVoucher->voucherType->name }}) : {{ $todayVoucher->amount }}
@endforeach Closing Balance : {{ $accountingVoucher->totalOutstanding }} {{ $accountingVoucher->totalOutstandingDrCr }} @endif @endif

Remarks : {{ $accountingVoucher->remarks }}
{{ $company->name }}


Authorized Signature
@if ($accountingVouchers->last() != $accountingVoucher)
@endif @endforeach