File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,8 +16,17 @@ <h3>{{ 'labels.heading.Loan Details' | translate }}</h3>
1616 < span class ="flex-50 "> {{ loanDetails.transactionProcessingStrategyName | translateKey: 'catalogs' }}</ span >
1717 </ div >
1818 }
19+ < div class ="flex-fill layout-row ">
20+ < span class ="flex-50 "> {{ 'labels.inputs.Currency' | translate }}</ span >
21+ < span class ="flex-50 "> {{ loanDetails.currency.code }}</ span >
22+ </ div >
1923
2024 @if (loanProductService.isWorkingCapital) {
25+ < div class ="flex-fill layout-row ">
26+ < span class ="flex-50 "> {{ 'labels.inputs.Amortization Type' | translate }} </ span >
27+ < span class ="flex-50 "> {{ loanDetails.product.amortizationType.value | translateKey: 'catalogs' }} </ span >
28+ </ div >
29+
2130 < div class ="flex-fill layout-row ">
2231 < span class ="flex-50 "> {{ 'labels.inputs.Period Payment Frequency' | translate }}</ span >
2332 < span class ="flex-50 ">
Original file line number Diff line number Diff line change 8080 </ tbody >
8181 </ table >
8282 </ div >
83- @if (loanDisplayArrearsDelinquency !== 1) {
83+ @if (loanProductService.isLoanProduct && loanDisplayArrearsDelinquency !== 1) {
8484 < div >
8585 < table class ="account-overview ">
8686 < tbody >
113113 </ table >
114114 </ div >
115115 }
116+ @if (loanProductService.isWorkingCapital && loanDetailsData?.delinquencyBucket) {
117+ < div >
118+ < table class ="account-overview ">
119+ < tbody >
120+ < tr >
121+ < td > {{ 'labels.inputs.Delinquency Classification' | translate }} :</ td >
122+ < td >
123+ < span class ="m-r-3 "> < i [ngClass] ="loanDelinquencyClassificationStyle "> </ i > </ span >
124+ {{ loanDetailsData?.delinquencyBucket.name }}
125+ </ td >
126+ </ tr >
127+ @if (loanDetailsData.collectionData && loanDetailsData.collectionData.delinquentDays > 0) {
128+ < tr >
129+ < td > {{ 'labels.inputs.Delinquent Days' | translate }} :</ td >
130+ < td > {{ loanDetailsData?.collectionData.delinquentDays | formatNumber }}</ td >
131+ </ tr >
132+ }
133+ </ tbody >
134+ </ table >
135+ </ div >
136+ }
116137 </ div >
117138
118139 @if (loanDetailsData.summary) {
Original file line number Diff line number Diff line change @@ -524,14 +524,20 @@ export class LoansViewComponent extends LoanProductBaseComponent implements OnIn
524524 if ( ! this . loanDetailsData ) {
525525 return '' ;
526526 }
527- if ( this . loanDetailsData . chargedOff ) {
528- return 'loanStatusType.chargeoff' ;
529- }
530- if ( this . isContractTermination ( this . loanSubStatus ) ) {
531- return 'loanSubStatusType.contractTermination' ;
532- }
533- if ( this . loanDetailsData . inArrears ) {
534- return 'loanStatusType.activeOverdue' ;
527+ if ( this . loanProductService . isLoanProduct ) {
528+ if ( this . loanDetailsData . chargedOff ) {
529+ return 'loanStatusType.chargeoff' ;
530+ }
531+ if ( this . isContractTermination ( this . loanSubStatus ) ) {
532+ return 'loanSubStatusType.contractTermination' ;
533+ }
534+ if ( this . loanDetailsData . inArrears ) {
535+ return 'loanStatusType.activeOverdue' ;
536+ }
537+ } else if ( this . loanProductService . isWorkingCapital ) {
538+ if ( this . loanDetailsData . collectionData ?. delinquentDays > 0 ) {
539+ return 'loanStatusType.activeOverdue' ;
540+ }
535541 }
536542 return this . loanDetailsData . status ?. code ;
537543 }
You can’t perform that action at this time.
0 commit comments