mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
change words to english
This commit is contained in:
@@ -101,7 +101,7 @@ export class DispatchDomain {
|
||||
* @event 'Reexecutar Despacho', 'Tarefa de Despacho'
|
||||
*/
|
||||
static async requestAppear() {
|
||||
return GenericBehaviorProcess.requestAppear(task, {})
|
||||
return GenericBehaviorProcess.RequestAppear(task, {})
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -122,16 +122,7 @@ export class DispatchDomain {
|
||||
* @event 'Reexecutar Despacho' , 'Tarefa de Despacho'
|
||||
*/
|
||||
static async Delegar(task, note, taskParticipants) {
|
||||
let body = {
|
||||
"SerialNumber": task.SerialNumber,
|
||||
"DispatchDocId": task.DocId,
|
||||
"FolderID": task.FolderId || task.FolderID,
|
||||
"Subject": task.Folio,
|
||||
"Comment": note,
|
||||
"DelegatedUserEmail": taskParticipants[0].EmailAddress,
|
||||
}
|
||||
|
||||
return this.processes.DelegateTask(body).toPromise()
|
||||
return GenericBehaviorProcess.Delegate(task, note, taskParticipants)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user