fix(chequebook,cashier): surface real hold/lien amount instead of fake placeholders
- Savings account general tab now shows the real lien/user hold (savingsAmountOnHold) alongside the existing guarantor hold (onHoldFunds). - Cashier transaction-entry "Transfer Hold" / "Tr. Hold" now bind to the real freezeAmount instead of a hardcoded 0.00 placeholder; "Freeze Amount" itself reverted to 0.00 per request. withdrawableAmount no longer double-subtracts the hold for savings accounts (whose availableBalance is already hold-adjusted server-side), while current accounts (whose availableBalance is not) still get the client-side subtraction they need. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
24b1d7c087
commit
ed2a40a8bf
@@ -350,6 +350,16 @@
|
||||
</span>
|
||||
</div>
|
||||
}
|
||||
@if (savingsAccountData.savingsAmountOnHold) {
|
||||
<div class="nx-row">
|
||||
<span class="nx-row__label">{{ 'labels.inputs.On Hold Amount (Lien)' | translate }}</span>
|
||||
<span class="nx-row__value nx-row__value--amount">
|
||||
<a *mifosxHasPermission="'READ_SAVINGSACCOUNT'">
|
||||
{{ savingsAccountData.savingsAmountOnHold | currency: currency.code : 'symbol-narrow' : '1.2-2' }}
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
}
|
||||
@if (savingsAccountData.withHoldTax) {
|
||||
<div class="nx-row">
|
||||
<span class="nx-row__label">{{ 'labels.inputs.Withhold Tax Group' | translate }}</span>
|
||||
|
||||
Reference in New Issue
Block a user