Datepickers using max date with business date

This commit is contained in:
Jose Alberto Hernandez
2022-07-28 17:06:39 +02:00
committed by Arnold Gálovics
parent 753791a078
commit a4b266080b
132 changed files with 268 additions and 42 deletions
@@ -48,6 +48,7 @@ export class ActivateRecurringDepositsAccountComponent implements OnInit {
* Creates the activate recurring deposits form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createActivateRecurringDepositsAccountForm();
}
@@ -58,6 +58,7 @@ export class AddChargeRecurringDepositsAccountComponent implements OnInit {
* Creates the Recurring Deposits Charge form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createRecurringDepositsChargeForm();
this.buildDependencies();
}
@@ -48,6 +48,7 @@ export class ApproveRecurringDepositsAccountComponent implements OnInit {
* Creates the approve recurring deposits form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createApproveRecurringDepositsAccountForm();
}
@@ -67,6 +67,7 @@ export class CloseRecurringDepositsAccountComponent implements OnInit {
}
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createcloseRecurringDepositForm();
}
@@ -63,6 +63,7 @@ export class DepositRecurringDepositsAccountComponent implements OnInit {
}
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createdepositRecurringDepositForm();
}
@@ -49,6 +49,7 @@ export class PrematureCloseRecurringDepositAccountComponent implements OnInit {
* Creates the premature close recurring deposits form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createprematureCloseRecurringDepositsAccountForm();
}
@@ -49,6 +49,7 @@ export class RejectRecurringDepositsAccountComponent implements OnInit {
* Creates the reject recurring deposits form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createRejectRecurringDepositsAccountForm();
}
@@ -39,7 +39,7 @@ export class WithdrawByClientRecurringDepositsAccountComponent implements OnInit
private dateUtils: Dates,
private route: ActivatedRoute,
private router: Router,
private settingsService: SettingsService, ) {
private settingsService: SettingsService) {
this.accountId = this.route.parent.snapshot.params['recurringDepositAccountId'];
}
@@ -47,6 +47,7 @@ export class WithdrawByClientRecurringDepositsAccountComponent implements OnInit
* Creates the withdraw recurring deposits form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createWithdrawRecurringDepositsAccountForm();
}