Fix edit Loan product with delinquency bucket unassigned
This commit is contained in:
committed by
Adam Saghy
parent
70d8bb432a
commit
e8f6e5e34a
@@ -230,5 +230,8 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cli": {
|
||||
"analytics": false
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ export class EditStandingInstructionsComponent implements OnInit {
|
||||
/** Minimum date allowed. */
|
||||
minDate = new Date(2000, 0, 1);
|
||||
/** Maximum date allowed. */
|
||||
maxDate = new Date(2100,0,1);
|
||||
maxDate = new Date(2100, 0, 1);
|
||||
|
||||
/**
|
||||
* Retrieves the standing instructions template from `resolve`.
|
||||
|
||||
+1
-1
@@ -511,7 +511,7 @@ export class LoanProductSettingsStepComponent implements OnInit {
|
||||
productSettings['overDueDaysForRepaymentEvent'] = null;
|
||||
}
|
||||
if (productSettings['delinquencyBucketId'] === '') {
|
||||
delete productSettings['delinquencyBucketId'];
|
||||
productSettings['delinquencyBucketId'] = null;
|
||||
}
|
||||
return productSettings;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user