@extends('layouts.app') @section('content')
| Voucher No. | Date | Debit Accounts | Credit Accounts | Amount | Narration | Actions |
|---|---|---|---|---|---|---|
| {{ $voucher->voucher_no }} | {{ $voucher->date->format('d-M-Y') }} | @foreach($voucher->entries->where('debit', '>', 0) as $entry) {{ Str::limit($entry->account->name, 20) }} @endforeach | @foreach($voucher->entries->where('credit', '>', 0) as $entry) {{ Str::limit($entry->account->name, 20) }} @endforeach | Rs. {{ number_format($voucher->amount, 2) }} | {{ Str::limit($voucher->narration, 25) }} | |
| No journal vouchers found | ||||||
| Total: | Rs. {{ number_format($vouchers->sum('amount'), 2) }} | |||||