This commit is contained in:
Peter Maquiran
2021-08-13 16:39:28 +01:00
parent 9653efd983
commit 8e2209ac72
12 changed files with 206 additions and 174 deletions
@@ -403,6 +403,7 @@ export class DespachoPrPage implements OnInit {
taskAction: taskAction,
task: task,
profile: this.profile,
fulltak: this.fulltask
},
cssClass: classs,
});
@@ -343,6 +343,7 @@ export class DespachoPage implements OnInit {
taskAction: taskAction,
task: task,
profile: this.profile,
fulltask: this.fulltask
},
cssClass: classs,
});
@@ -399,7 +399,7 @@ export class ExpedienteDetailPage implements OnInit {
});
}
async distartExpedientModal(body:any){
async distartExpedientModal(body:any) {
const modal = await this.modalController.create({
component: DiscartExpedientModalPage,
componentProps: {
@@ -441,11 +441,11 @@ export class ExpedienteDetailPage implements OnInit {
}
}
else{
if(res['data']== 'Yes'){
if(res['data']== 'Yes') {
const loader = this.toastService.loading()
try {
await this.processes.CompleteTask(body).toPromise();
await this.expedientesService.CompleteTask(body).toPromise();
//this.toastService.successMessage('Processo descartado');
this.goBack();
} catch (error) {
@@ -455,7 +455,7 @@ export class ExpedienteDetailPage implements OnInit {
}
}
else if(res['data'] == 'No'){
else if(res['data'] == 'No') {
console.log('Update');
const loader = this.toastService.loading()
try {
@@ -310,6 +310,7 @@ export class PedidoPage implements OnInit {
componentProps: {
taskAction: taskAction,
task: this.fulltask,
fulltask: this.fulltask
},
cssClass: classs,
});