This commit is contained in:
tiago.kayaya
2021-09-06 14:41:32 +01:00
parent 54810d5b62
commit 2b2d4ef315
4 changed files with 18 additions and 9 deletions
@@ -226,7 +226,7 @@ export class BookMeetingModalPage implements OnInit {
this.runValidation()
if(this.Form.invalid) return false
}
let Attendees = this.taskParticipants.concat(this.taskParticipantsCc);
this.eventBody={
@@ -284,15 +284,16 @@ export class BookMeetingModalPage implements OnInit {
}
else if(this.task.FsId == '361') {
const loader = this.toastService.loading()
try {
switch (this.loggeduser.Profile) {
case 'MDGPR':
await this.calendarService.createTaskEvent(this.task.FolderId, this.postData, "md",this.task.SerialNumber, this.task.FsId).toPromise();
await this.calendarService.createTaskEvent(this.task.FolderID | this.task.FolderId, this.postData, "md",this.task.SerialNumber, this.task.FsId).toPromise();
break;
case 'PR':
await this.calendarService.createTaskEvent(this.task.FolderId, this.postData, "pr",this.task.SerialNumber, this.task.FsId).toPromise();
await this.calendarService.createTaskEvent(this.task.FolderID | this.task.FolderId, this.postData, "pr",this.task.SerialNumber, this.task.FsId).toPromise();
break;
}
this.close();
@@ -307,7 +308,7 @@ export class BookMeetingModalPage implements OnInit {
}
if(true) {
//
//
}
}