Datepickers using max date with business date
This commit is contained in:
committed by
Arnold Gálovics
parent
753791a078
commit
a4b266080b
@@ -62,6 +62,7 @@ export class CreateGroupComponent implements OnInit, AfterViewInit {
|
||||
* Creates and sets the group form.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createGroupForm();
|
||||
}
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@ export class EditGroupComponent implements OnInit {
|
||||
* Creates and sets the edit group form.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createEditGroupForm();
|
||||
this.editGroupForm.patchValue({
|
||||
'name': this.groupData.name,
|
||||
|
||||
@@ -45,6 +45,7 @@ export class ActivateGroupComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createActivateGroupForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -59,6 +59,7 @@ export class AttachGroupMeetingComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createGroupMeetingForm();
|
||||
this.buildDependencies();
|
||||
}
|
||||
|
||||
@@ -50,6 +50,7 @@ export class CloseGroupComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createCloseGroupForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -57,6 +57,7 @@ export class EditGroupMeetingScheduleComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createEditMeetingScheduleForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -62,6 +62,7 @@ export class EditGroupMeetingComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createEditGroupMeetingForm();
|
||||
this.buildDependencies();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user