mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
change words to english
This commit is contained in:
@@ -36,7 +36,7 @@ export class DispatchPrDomain {
|
||||
* @param serialNumber
|
||||
* @returns
|
||||
*/
|
||||
static async generateDiploma(note: string, documents: any, serialNumber) {
|
||||
static async SendDiploma(note: string, documents: any, serialNumber) {
|
||||
|
||||
let body = {
|
||||
"serialNumber": serialNumber,
|
||||
@@ -60,7 +60,7 @@ export class DispatchPrDomain {
|
||||
* @param serialNumber
|
||||
* @returns
|
||||
*/
|
||||
static async conclude(note: string, documents: any, serialNumber) {
|
||||
static async Conclude(note: string, documents: any, serialNumber) {
|
||||
let body = {
|
||||
"serialNumber": serialNumber,
|
||||
"action": "Executado",
|
||||
@@ -83,7 +83,7 @@ export class DispatchPrDomain {
|
||||
* @param serialNumber
|
||||
* @returns
|
||||
*/
|
||||
static async rerun(note: string, documents: any, serialNumber) {
|
||||
static async Rerun(note: string, documents: any, serialNumber) {
|
||||
let body = {
|
||||
"serialNumber": serialNumber,
|
||||
"action": "Reexecução",
|
||||
@@ -105,8 +105,8 @@ export class DispatchPrDomain {
|
||||
* @param serialNumber
|
||||
* @returns
|
||||
*/
|
||||
static async requestAppear(task, postData) {
|
||||
return GenericBehaviorProcess.requestAppear(task, {})
|
||||
static async RequestAppear(task, postData) {
|
||||
return GenericBehaviorProcess.RequestAppear(task, {})
|
||||
}
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ export class DispatchPrDomain {
|
||||
* @param serialNumber
|
||||
* @returns
|
||||
*/
|
||||
static async setUpMeeting() {}
|
||||
static async SetUpMeeting() {}
|
||||
|
||||
|
||||
/**
|
||||
@@ -153,19 +153,9 @@ export class DispatchPrDomain {
|
||||
* @param serialNumber
|
||||
* @returns
|
||||
*/
|
||||
static async Delegate(task: any, 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 await this.processes.DelegateTask(body).toPromise()
|
||||
}
|
||||
|
||||
static async Delegate(task: any, note, EmailAddress) {
|
||||
return GenericBehaviorProcess.Delegate(task, note, EmailAddress)
|
||||
}
|
||||
|
||||
/**
|
||||
* @pt Efetuar Despacho
|
||||
|
||||
Reference in New Issue
Block a user