@if ($entry->voucher_type == \App\GeneralJournalEntry::CRV)
CRV-{{ $entry->voucher_no }} |
@elseif($entry->voucher_type == \App\GeneralJournalEntry::BRV)
BRV-{{ $entry->voucher_no }} |
@elseif($entry->voucher_type == \App\GeneralJournalEntry::CPV)
CPV-{{ $entry->voucher_no }} |
@elseif($entry->voucher_type == \App\GeneralJournalEntry::BPV)
BPV-{{ $entry->voucher_no }} |
@elseif($entry->voucher_type == \App\GeneralJournalEntry::JV)
JV-{{ $entry->voucher_no }} |
@else
|
@endif
@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
|
@endforeach