@if (loading) {
Loading request…
} @else if (!detail) {
{{ errorMsg }}
} @else {
Client
{{ detail.clientName }}
Share account
{{ detail.accountNo }} — {{ detail.productName }}
Office
{{ detail.officeName }}
Requested shares
{{ detail.totalShares }} @ {{ detail.unitPrice | number: '1.2-2' }}
Amount
{{ detail.amount | number: '1.2-2' }}
@if (detail.chargeAmount > 0) {
Entry fee
{{ detail.chargeAmount | number: '1.2-2' }}
}
Board resolution
{{ detail.resolutionNumber || '—' }}
Meeting date
{{ detail.meetingDate || '—' }}
Requested on
{{ detail.transactionDate }}
How it was funded
@if (detail.fundingSource === 'CASH') {
@if (voucherCount > 0) {
| Voucher / Receipt |
Date |
Description |
Collected by |
Amount |
Detail |
@for (v of detail.vouchers; track v.id) {
| {{ v.voucherNo || v.receiptNo }} |
{{ v.collectionDate }} |
{{ v.note || '—' }} |
{{ v.collectedByName || '—' }} |
{{ v.amount | number: '1.2-2' }} |
|
@if (expandedVoucherId === v.id) {
|
@if (loadingGlEntriesId === v.id) {
Loading GL entry…
} @else if (!glEntriesByVoucherId[v.id]?.length) {
No GL posting recorded for this receipt.
} @else {
| GL Account |
Dr / Cr |
Amount |
@for (leg of glEntriesByVoucherId[v.id]; track leg.glCode + leg.drCr) {
| {{ leg.glCode }} — {{ leg.accountName }} |
{{ leg.drCr }}
|
{{ leg.amount | number: '1.2-2' }} |
}
}
|
}
}
} @else {
Cash-funded, but no receipt is linked to this request.
}
} @else if (detail.fundingSource === 'SAVINGS') {
@if (detail.savingsAccount) {
Savings account
{{ detail.savingsAccount.accountNo }}
Current balance
{{ detail.savingsAccount.balance | number: '1.2-2' }}
This amount was already debited from savings when the tranche was submitted.
} @else {
Savings-funded, but no linked savings account could be found.
}
} @else {
No funding route was recorded for this request.
}
@if (errorMsg) {
{{ errorMsg }}
}
}