update some logic show option

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Nitesh Yadav
2026-04-21 17:38:07 +05:30
co-authored by Claude Sonnet 4.6
parent e212bf7d79
commit e9a9377148
39 changed files with 2215 additions and 287 deletions
@@ -22,6 +22,27 @@
<span class="flex-60">{{ savingsAccount.submittedOnDate | dateFormat }}</span>
</div>
@if (savingsAccountProductTemplate?.effectiveDate) {
<div class="flex-fill layout-row">
<span class="flex-40">Effective Date</span>
<span class="flex-60">{{ savingsAccountProductTemplate.effectiveDate | dateFormat }}</span>
</div>
}
@if (savingsAccountProductTemplate?.effectiveTo) {
<div class="flex-fill layout-row">
<span class="flex-40">Effective To</span>
<span class="flex-60">{{ savingsAccountProductTemplate.effectiveTo | dateFormat }}</span>
</div>
}
@if (savingsAccountProductTemplate?.endDate) {
<div class="flex-fill layout-row">
<span class="flex-40">End Date</span>
<span class="flex-60">{{ savingsAccountProductTemplate.endDate | dateFormat }}</span>
</div>
}
<div class="flex-fill layout-row">
<span class="flex-40">{{ 'labels.inputs.External Id' | translate }}</span>
@if (savingsAccount.externalId) {
@@ -74,7 +95,7 @@
<div class="flex-fill layout-row">
<span class="flex-40">{{ 'labels.inputs.Decimal Places' | translate }}</span>
<span class="flex-60">{{ savingsAccountTermsForm.get('decimal').value }}</span>
<span class="flex-60">{{ savingsAccountProductTemplate?.currency?.decimalPlaces }}</span>
</div>
<div class="flex-fill layout-row">
@@ -82,6 +103,49 @@
<span class="flex-60">{{ savingsAccount.nominalAnnualInterestRate | formatNumber }} %</span>
</div>
@if (savingsAccountProductTemplate?.interestCalculationTypeName) {
<div class="flex-fill layout-row">
<span class="flex-40">Interest Calculation Mode</span>
<span class="flex-60">{{ savingsAccountProductTemplate.interestCalculationTypeName }}</span>
</div>
}
@if (savingsAccountProductTemplate?.lastInterestDate) {
<div class="flex-fill layout-row">
<span class="flex-40">Last Interest Date</span>
<span class="flex-60">{{ savingsAccountProductTemplate.lastInterestDate | dateFormat }}</span>
</div>
}
<div class="flex-fill layout-row">
<span class="flex-40">Interest Calculation Selector</span>
<span class="flex-60">{{
getCatalogTranslation(
savingsAccount.interestCalculateSelector
| find: savingsAccountProductTemplate.interestCalculationTypeOption : 'id' : 'value'
)
}}</span>
</div>
@if (savingsAccount.averagePeriod) {
<div class="flex-fill layout-row">
<span class="flex-40">Average Period</span>
<span class="flex-60">{{ savingsAccount.averagePeriod }}</span>
</div>
}
<div class="flex-fill layout-row">
<span class="flex-40">Auto Post</span>
<span class="flex-60">{{ savingsAccount.autoPost | yesNo }}</span>
</div>
@if (savingsAccount.frequencyFixDay !== undefined && savingsAccount.frequencyFixDay !== null) {
<div class="flex-fill layout-row">
<span class="flex-40">Frequency Fix Day</span>
<span class="flex-60">{{ savingsAccount.frequencyFixDay }}</span>
</div>
}
<div class="flex-fill layout-row">
<span class="flex-40">{{ 'labels.inputs.Interest Compounding Period' | translate }}:</span>
<span class="flex-60">{{
@@ -181,6 +245,27 @@
<span class="flex-60">{{ savingsAccount.enforceMinRequiredBalance | yesNo }}</span>
</div>
@if (savingsAccountProductTemplate?.enableLockinPeriod !== undefined) {
<div class="flex-fill layout-row">
<span class="flex-40">Enable Lock-in Period</span>
<span class="flex-60">{{ savingsAccountProductTemplate.enableLockinPeriod | yesNo }}</span>
</div>
}
@if (savingsAccountProductTemplate?.balanceFrequency) {
<div class="flex-fill layout-row">
<span class="flex-40">Balance Frequency</span>
<span class="flex-60">{{ savingsAccountProductTemplate.balanceFrequency }}</span>
</div>
}
@if (savingsAccountProductTemplate?.accountClosedZeroBalanceInDayClosing !== undefined) {
<div class="flex-fill layout-row">
<span class="flex-40">Account Closed Zero Balance In Day Closing</span>
<span class="flex-60">{{ savingsAccountProductTemplate.accountClosedZeroBalanceInDayClosing | yesNo }}</span>
</div>
}
@if (savingsAccount.minRequiredBalance) {
<div class="flex-fill layout-row">
<span class="flex-40">{{ 'labels.inputs.Minimum Balance' | translate }}:</span>