Voucher management module. Use this to create debit/credit vouchers for adjustments.
| Date |
Voucher No |
Type |
Customer/Supplier/Expenses |
Amount |
Actions |
@forelse($vouchers ?? [] as $voucher)
| {{ date('d-m-Y', strtotime($voucher->date)) }} |
{{ $voucher->voucher_no }} |
@if($voucher->type == 'credit')
Credit (Received)
@else
Debit (Payment)
@endif
|
@if($voucher->party_type == 'expenses')
{{ $voucher->category ?? 'Expenses' }}
@else
{{ $voucher->party_name ?? '-' }}
@endif
|
{{ number_format($voucher->type == 'credit' ? ($voucher->received_amount ?? 0) : $voucher->amount, 2) }} |
|
@empty
| No vouchers found |
@endforelse