@if (shouldShow) {
{{ isProductMode ? 'Dormancy Monitoring Configuration' : 'Dormancy Risk Monitor' }}
@if (isProductMode) { Product-level dormancy thresholds applied to this account } @else { Real-time dormancy tracking · Based on last customer transaction }
@if (isProductMode) { Monitoring: {{ riskSeverity }} } @else { Dormancy Risk: {{ riskSeverity }} } @if (!isProductMode && isMonitoringActive) { Monitoring Active }
@if (isProductMode) {
Account Status New Account No transactions yet
Dormancy Monitoring {{ isMonitoringActive ? 'Enabled' : 'Disabled' }} {{ isMonitoringActive ? 'Transaction activity tracked' : 'Not configured' }}
Alert Notifications {{ isAlertEnabled ? 'Enabled' : 'Disabled' }} {{ isAlertEnabled ? 'Branch will be notified' : 'No alerts configured' }}
Inactive Threshold @if (daysToInactive !== null) { {{ daysToInactive }}days No transaction for {{ daysToInactive }} days } @else { Not configured }
Dormancy Threshold @if (daysToDormancy !== null) { {{ daysToDormancy }}days {{ daysToDormancy }} days after inactive } @else { Not configured }
Escheat Threshold @if (daysToEscheat !== null) { {{ daysToEscheat }}days {{ daysToEscheat }} days after dormant } @else { Not configured }
} @else {
Account Status {{ statusLabel }} @if (statusId === 0) { Currently active } @if (statusId === 100) { No recent transactions } @if (statusId === 200) { Classified as dormant } @if (statusId === 300) { Pending regulatory transfer }
Last Transaction @if (lastTxnDate) { {{ lastTxnDate }} Most recent customer activity } @else if (accountOpenedDate) { {{ accountOpenedDate }} Account opened · No transactions yet } @else { No transactions yet }
Days to Inactive @if (statusId >= 100) { Threshold Reached Account is inactive } @else if (daysToInactive !== null) { {{ daysToInactive }}days {{ inactiveSubtext() }} } @else { — }
Days to Dormant @if (statusId >= 200) { Threshold Reached Account is dormant } @else if (daysToDormancy !== null) { {{ daysToDormancy }}days {{ dormancySubtext() }} } @else { — }
Days to Escheat @if (statusId >= 300) { Threshold Reached Pending regulatory transfer } @else if (daysToEscheat !== null) { {{ daysToEscheat }}days {{ escheatSubtext() }} } @else { — }
}
Dormancy Progression @if (!isProductMode) { Timeline based on last customer transaction }
Active Normal
@for (step of timelineSteps; track step.label) {
@if (step.reached && !step.current) { } @else if (step.current) { } @else { }
{{ step.label }} @if (!step.reached && step.days !== null) { {{ step.days }}d } @else if (step.reached) { Reached }
}
}