Fix Loan Product summary in preview view to show loan schedule type value (#1920)
Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
dd7faffad7
commit
3a53236516
+5
-6
@@ -166,17 +166,16 @@ export class LoanProductSummaryComponent implements OnInit, OnChanges {
|
|||||||
this.loanProductsTemplate.transactionProcessingStrategyOptions);
|
this.loanProductsTemplate.transactionProcessingStrategyOptions);
|
||||||
this.loanProduct.transactionProcessingStrategyName = codeValue.name;
|
this.loanProduct.transactionProcessingStrategyName = codeValue.name;
|
||||||
|
|
||||||
if (this.isAdvancedPaymentAllocation) {
|
if (!this.loanProduct.loanScheduleType || !this.loanProduct.loanScheduleType.value) {
|
||||||
|
this.loanProduct.loanScheduleType = this.optionDataLookUpByCode(this.loanProduct.loanScheduleType,
|
||||||
|
this.loanProductsTemplate.loanScheduleTypeOptions);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.isAdvancedPaymentAllocation) {
|
||||||
if (!this.loanProduct.loanScheduleProcessingType || !this.loanProduct.loanScheduleProcessingType.value) {
|
if (!this.loanProduct.loanScheduleProcessingType || !this.loanProduct.loanScheduleProcessingType.value) {
|
||||||
this.loanProduct.loanScheduleProcessingType = this.optionDataLookUpByCode(this.loanProduct.loanScheduleProcessingType,
|
this.loanProduct.loanScheduleProcessingType = this.optionDataLookUpByCode(this.loanProduct.loanScheduleProcessingType,
|
||||||
this.loanProductsTemplate.loanScheduleProcessingTypeOptions);
|
this.loanProductsTemplate.loanScheduleProcessingTypeOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.loanProduct.loanScheduleType || !this.loanProduct.loanScheduleType.value) {
|
|
||||||
this.loanProduct.loanScheduleType = this.optionDataLookUpByCode(this.loanProduct.loanScheduleType,
|
|
||||||
this.loanProductsTemplate.loanScheduleTypeOptions);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user