@extends('admin.layouts.app') @section('title', 'Vouchers') @section('page_title', 'Voucher Management') @section('content')
Vouchers
Add Voucher
Voucher management module. Use this to create debit/credit vouchers for adjustments.
@forelse($vouchers ?? [] as $voucher) @empty @endforelse
Date Voucher No Type Customer/Supplier/Expenses Amount Actions
{{ 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) }}
@csrf @method('DELETE')
No vouchers found
@endsection