@extends('layouts.app') @section('title', 'Vouchers') @section('content')

Vouchers

@can('create', \App\Models\Voucher::class) New Voucher @endcan
@if (session('success'))
{{ session('success') }}
@endif
Filter
@forelse($items as $item) @empty @endforelse
Voucher No. Type Date Debit Credit Status Actions
{{ $item->voucher_number }} {{ ucfirst($item->voucher_type) }} {{ $item->voucher_date }} {{ number_format($item->total_debit, 2) }} {{ number_format($item->total_credit, 2) }} View
No vouchers found.
{{ $items->links() }}

{{ $items->total() }} voucher(s) found.

@endsection