@extends('layouts.app') @section('content')
| Voucher No. | Date | Account | Amount | Narration | Actions |
|---|---|---|---|---|---|
| {{ $voucher->voucher_no }} | {{ $voucher->date->format('d-M-Y') }} | @php $creditEntry = $voucher->entries->where('credit', '>', 0)->first(); @endphp {{ $creditEntry->account->name ?? '-' }} | Rs. {{ number_format($voucher->amount, 2) }} | {{ Str::limit($voucher->narration, 40) ?? '-' }} | |
|
No credit vouchers found. Create your first receipt voucher |
|||||
| Total Vouchers: | {{ $vouchers->total() }} |
| Total Receipts: | Rs. {{ number_format($totals, 2) }} |