Datepickers using max date with business date
This commit is contained in:
committed by
Arnold Gálovics
parent
753791a078
commit
a4b266080b
+1
@@ -48,6 +48,7 @@ export class ActivateCenterComponent implements OnInit {
|
||||
* Creates the activate center form.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createActivateCenterForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -59,6 +59,7 @@ export class AttachCenterMeetingComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createCenterMeetingForm();
|
||||
this.buildDependencies();
|
||||
}
|
||||
|
||||
+1
@@ -70,6 +70,7 @@ export class CenterAttendanceComponent implements OnInit {
|
||||
* Sets the members table.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
if (this.membersData !== undefined && this.membersData !== null) {
|
||||
this.dataSource = this.membersData.map((member: any) => ({ clientId: member.id, attendanceType: 1 }));
|
||||
}
|
||||
|
||||
@@ -50,6 +50,7 @@ export class CloseCenterComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createCloseCenterForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -57,6 +57,7 @@ export class EditCenterMeetingScheduleComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createEditMeetingScheduleForm();
|
||||
}
|
||||
|
||||
|
||||
+1
@@ -62,6 +62,7 @@ export class EditCenterMeetingComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createEditCenterMeetingForm();
|
||||
this.buildDependencies();
|
||||
}
|
||||
|
||||
@@ -62,6 +62,7 @@ export class CreateCenterComponent implements OnInit {
|
||||
* Creates and sets the center form.
|
||||
*/
|
||||
ngOnInit() {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createCenterForm();
|
||||
}
|
||||
|
||||
|
||||
@@ -54,6 +54,7 @@ export class EditCenterComponent implements OnInit {
|
||||
* Creates the edit center form.
|
||||
*/
|
||||
ngOnInit(): void {
|
||||
this.maxDate = this.settingsService.businessDate;
|
||||
this.createEditCenterForm();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user