Customize Entries
@if ($errors->has('date_range')) {{ $errors->first('date_range') }} @endif

List of General Journal Entries

@foreach ($allEntries as $entry) @if ($entry->voucher_type == \App\GeneralJournalEntry::CRV) @elseif($entry->voucher_type == \App\GeneralJournalEntry::BRV) @elseif($entry->voucher_type == \App\GeneralJournalEntry::CPV) @elseif($entry->voucher_type == \App\GeneralJournalEntry::BPV) @elseif($entry->voucher_type == \App\GeneralJournalEntry::JV) @else @endif @endforeach
Type Checked Posted Date Entry No. Cheque No. Receipt No. Account Debit/Credit (+/-) Action
CRV-{{ $entry->voucher_no }}BRV-{{ $entry->voucher_no }}CPV-{{ $entry->voucher_no }}BPV-{{ $entry->voucher_no }}JV-{{ $entry->voucher_no }} @if ($entry->is_check) @else @endif @if ($entry->is_post) @else @endif {{ date('d/m/Y', strtotime($entry->date)) }} {{ $entry->entry_no }} {{ $entry->cheaque_no ? $entry->cheaque_no : '' }} @if ($entry->dealer_package_voucher == 1) @if ($entry->dealerReceipt) {{ $entry->dealerReceipt->receipt_no }} @endif @elseif($entry->customer_refund_unit == 1) @if ($entry->customerUnitRefundReceipt) {{ $entry->customerUnitRefundReceipt->receipt_no }} @endif @elseif($entry->dealer_refund_openfile == 1) @if ($entry->dealerOpenFileRefundReceipt) {{ $entry->dealerOpenFileRefundReceipt->receipt_no }} @endif @elseif($entry->cancel_close_unit == 1) @if ($entry->CustomerCancelUnitReceipt) {{ $entry->CustomerCancelUnitReceipt->receipt_no }} @endif @elseif($entry->cancel_open_unit == 1) @if ($entry->DealerOpenFileCancelReceipt) {{ $entry->DealerOpenFileCancelReceipt->receipt_no }} @endif @else @if ($entry->receipt) {{ $entry->receipt->receipt_no }} @endif @endif {{ $entry->account ? $entry->account->name : '' }} {{ number_format($totalAmount[$entry->entry_no]) }} @permission('view-voucher') View @endpermission @permission('delete-voucher') Delete @endpermission
{{ $allEntries->links() }}