This commit is contained in:
Peter Maquiran
2021-07-23 17:16:27 +01:00
parent 4fdae89fbf
commit ff2d8aa43c
5 changed files with 20 additions and 19 deletions
@@ -89,16 +89,16 @@ export class DocumentDetailPage implements OnInit {
Subject: this.LoadedDocument.Assunto
},
}
} else if (this.LoadedDocument.ApplicationID == 8) {
} else if (this.LoadedDocument.ApplicationID == 8 || this.LoadedDocument.ApplicationId == 8) {
task = {
serialNumber: this.LoadedDocument.SourceId,
taskStartDate: this.LoadedDocument.CreateDate,
serialNumber: this.LoadedDocument.DocId,
taskStartDate: this.LoadedDocument.DocDate,
isEvent: true,
workflowInstanceDataFields: {
FsId: this.LoadedDocument.ApplicationID,
FsId: this.LoadedDocument.ApplicationID || this.LoadedDocument.ApplicationId,
FolderID: null,
DocId: this.LoadedDocument.SourceId,
Subject: this.LoadedDocument.SourceName
DocId: this.LoadedDocument.DocId,
Subject: this.LoadedDocument.Assunto
}
}
}
@@ -120,10 +120,8 @@ export class DocumentDetailPage implements OnInit {
await modal.present();
modal.onDidDismiss().then( async(res)=>{});
}
async openBookMeetingModal() {
let task;
@@ -133,6 +131,8 @@ export class DocumentDetailPage implements OnInit {
serialNumber: this.LoadedDocument.DispatchNumber,
taskStartDate: this.LoadedDocument.DateDispatch,
isEvent: true,
Folio: this.LoadedDocument.Assunto,
FsId: this.LoadedDocument.ApplicationID,
workflowInstanceDataFields: {
FsId: this.LoadedDocument.ApplicationID,
FolderID: null,
@@ -140,11 +140,13 @@ export class DocumentDetailPage implements OnInit {
Subject: this.LoadedDocument.Assunto
},
}
} else if (this.LoadedDocument.ApplicationID == 8) {
} else if (this.LoadedDocument.ApplicationID == 8 || this.LoadedDocument.ApplicationId == 8) {
task = {
serialNumber: this.LoadedDocument.SourceId,
taskStartDate: this.LoadedDocument.CreateDate,
isEvent: true,
Folio: this.LoadedDocument.Assunto,
FsId: this.LoadedDocument.ApplicationID,
workflowInstanceDataFields: {
FsId: this.LoadedDocument.ApplicationID,
FolderID: null,
@@ -172,5 +174,4 @@ export class DocumentDetailPage implements OnInit {
modal.onDidDismiss();
}
}