change words to english

This commit is contained in:
Peter Maquiran
2023-06-23 12:14:24 +01:00
parent e991ba5f4e
commit 2c28e37a4b
12 changed files with 110 additions and 128 deletions
+9 -19
View File
@@ -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