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 AllocateCashComponent implements OnInit {
}
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.setCashierForm();
}
@@ -48,6 +48,7 @@ export class CreateCashierComponent implements OnInit {
}
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.setCreateCashierForm();
}
@@ -52,6 +52,7 @@ export class EditCashierComponent implements OnInit {
}
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.setEditChargeForm();
}
@@ -45,6 +45,7 @@ export class SettleCashComponent implements OnInit {
}
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.setCashierForm();
}
@@ -55,6 +55,7 @@ export class CreateTellerComponent implements OnInit {
* Creates the teller form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createTellerForm();
}
@@ -67,6 +67,7 @@ export class EditTellerComponent implements OnInit {
* Creates the Edit teller form.
*/
ngOnInit() {
this.maxDate = this.settingsService.businessDate;
this.createEditTellerForm();
}