Datepickers using max date with business date
This commit is contained in:
committed by
Arnold Gálovics
parent
753791a078
commit
a4b266080b
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user