Voucher Information
Voucher No: {{ $voucher->voucher_no }}
Type: {{ ucfirst($voucher->type) }}
Date: {{ $voucher->date->format('Y-m-d') }}
Description: {{ $voucher->description ?? '-' }}
Total Amount: {{ number_format($voucher->entries->sum('amount'), 2) }}
Voucher Entries
@foreach($voucher->entries as $entry) @endforeach
Account Head Amount Type Note
{{ $entry->accountHead->full_path }} {{ number_format($entry->amount, 2) }} {{ ucfirst($entry->entry_type) }} {{ $entry->note ?? '-' }}