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

Contra

Voucher Details
Voucher No : {{ $accountingVoucher->voucher_number }}
Date : {{ \Carbon\Carbon::parse($accountingVoucher->voucher_date)->format('d M Y') }}
@if ($accountingVoucher->accountingVoucherLedgers->count() > 0) @foreach ($accountingVoucher->accountingVoucherLedgers as $key => $accountingVoucherLedger) @endforeach @else @endif
Particulars Debit Credit
{{ $accountingVoucherLedger->ledger->name }} {{ $accountingVoucherLedger->dr_or_cr == 'Dr' ? $accountingVoucherLedger->amount : '' }} {{ $accountingVoucherLedger->dr_or_cr == 'Cr' ? $accountingVoucherLedger->amount : '' }}
{{ $accountingVoucher->debitLedger->name }} A/C {{ $accountingVoucher->amount }}
To {{ $accountingVoucher->creditLedger->name }} {{ $accountingVoucher->amount }}
{{ $company->name }}

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