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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user