diff --git a/src/app/Rules/despacho.service.ts b/src/app/Rules/despacho.service.ts index ca5392df6..04c1d2ac5 100644 --- a/src/app/Rules/despacho.service.ts +++ b/src/app/Rules/despacho.service.ts @@ -50,7 +50,6 @@ export class DespachoService { // }, // "AttachmentList" :documents, // } - // return this.processes.CompleteTask(body) // } @@ -93,7 +92,6 @@ export class DespachoService { // } } - rexecucao({note, documents, serialnumber}) { let body = { "serialNumber": serialnumber, @@ -123,18 +121,17 @@ export class DespachoService { return this.processes.CompleteTask(body) } - - Finalizar({serialNumber}) { - const body = { - "serialNumber": serialNumber, - "action": "Conhecimento", - "ActionTypeId": 104, - "dataFields": { - "ReviewUserComment": '', - }, - "AttachmentList" :null, - } - } + // Finalizar({serialNumber}) { + // const body = { + // "serialNumber": serialNumber, + // "action": "Conhecimento", + // "ActionTypeId": 104, + // "dataFields": { + // "ReviewUserComment": '', + // }, + // "AttachmentList" :null, + // } + // } sendExpedienteToPending(serialnumber) { return this.processes.SetTaskToPending(serialnumber) diff --git a/src/app/modals/create-process/create-process.page.ts b/src/app/modals/create-process/create-process.page.ts index c43dde0ed..7c4bb7607 100644 --- a/src/app/modals/create-process/create-process.page.ts +++ b/src/app/modals/create-process/create-process.page.ts @@ -198,7 +198,6 @@ export class CreateProcessPage implements OnInit { async saveTask() { - if(!this.p.userRole(['PR'])) { this.injectValidation() this.runValidation() @@ -239,7 +238,6 @@ export class CreateProcessPage implements OnInit { this.dispatchFolder.SubjectTypes = this.selectedTypes; const loader = this.toastService.loading() - switch (this.loggeduser.Profile) { case 'MDGPR': diff --git a/src/app/modals/document-detail/document-detail.page.html b/src/app/modals/document-detail/document-detail.page.html index df3087c99..f5db52381 100644 --- a/src/app/modals/document-detail/document-detail.page.html +++ b/src/app/modals/document-detail/document-detail.page.html @@ -53,7 +53,8 @@