Allow add loan charge in future date (#1644)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
a56347d400
commit
57a55a18a9
+1
-1
@@ -67,7 +67,7 @@ export class AddLoanChargeComponent implements OnInit {
|
||||
* Creates the Loan Charge form.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.maxDate = this.settingsService.maxFutureDate;
|
||||
this.createLoanChargeForm();
|
||||
this.loanChargeForm.controls.chargeId.valueChanges.subscribe(chargeId => {
|
||||
const chargeDetails = this.loanChargeOptions.find(option => {
|
||||
|
||||
Reference in New Issue
Block a user