@extends('admin.layouts.app') @section('title', 'Vouchers - ' . ucfirst(request('type', 'All'))) @section('content')
| Voucher No | Date | Type | Narration | Amount | Status | Created By | Actions |
|---|---|---|---|---|---|---|---|
| {{ $voucher->voucher_no }} | {{ date('d M Y', strtotime($voucher->voucher_date)) }} | @if($voucher->voucher_type == 'journal') Journal @elseif($voucher->voucher_type == 'receipt') Receipt @elseif($voucher->voucher_type == 'payment') Payment @else Contra @endif | {{ Str::limit($voucher->narration, 50, '...') }} | Rs. {{ number_format($voucher->total_amount ?? 0, 2) }} | @if($voucher->status == 'posted') ✓ Posted @elseif($voucher->status == 'draft') Draft @else Cancelled @endif | {{ $voucher->creator->name ?? 'System' }} | |
|
No vouchers found Create your first voucher → |
|||||||