@for (p of datePresets; track p.key) {
}
@if (loading) {
} @else if (loaded && requests.length === 0) {
No disbursement requests found
You have not submitted any disbursement requests yet.
} @else {
| Voucher No |
GL Account |
DR Amount |
Credit Entries |
Payment Mode |
Reviewed By |
Submitted At |
Status |
@for (r of requests; track r.id) {
| {{ r.voucher_no || '—' }} |
{{ r.gl_account_no }}
{{ r.gl_account_name }}
|
₹{{ r.dr_amount | number: '1.2-2' }} |
|
{{ r.payment_type_name || 'Transfer' }} |
{{ r.manager_name || r.manager_username || '—' }} |
{{ formatDateTime(r.submitted_at) }} |
{{ statusLabel(r.status) }}
|
@if (expandedIds.has(r.id)) {
| DR/CR |
Account No |
Account Name |
Type |
Amount (₹) |
@for (ce of getCreditEntries(r); track ce.accountNo) {
|
{{ ce.dbCr || 'CR' }}
|
{{ ce.accountNo || '—' }} |
{{ ce.accountName || '—' }} |
{{ ce.accountType || '—' }}
|
{{ ce.amount | number: '1.2-2' }} |
}
|
}
@if (r.status === 'REJECTED' && r.rejection_reason) {
|
info
{{ r.rejection_reason }}
|
}
@if (r.status === 'FAILED' && r.error_message) {
|
error_outline
Processing failed & transactions reversed: {{ r.error_message }}
|
}
}
}