This commit is contained in:
Peter Maquiran
2021-07-17 21:22:03 +01:00
parent 841a0967a9
commit e3fa0981a7
10 changed files with 49 additions and 22 deletions
@@ -67,6 +67,9 @@ export class DespachosOptionsPage implements OnInit {
this.processes.SetTaskToPending(this.task.SerialNumber).subscribe(res=>{
console.log(res);
this.close();
},()=>{
this.toastService.badRequest('Processo não encontrado')
});
}
@@ -98,6 +98,9 @@ export class DespachosPrOptionsPage implements OnInit {
this.processes.SetTaskToPending(this.serialnumber).subscribe(res=>{
console.log(res);
this.close();
},()=>{
this.toastService.badRequest('Processo não encontrado')
});
}
@@ -247,6 +247,9 @@ export class OptsExpedientePrPage implements OnInit {
this.processes.SetTaskToPending(this.task.SerialNumber).subscribe(res=>{
console.log(res);
this.close();
},()=>{
this.toastService.badRequest('Processo não encontrado')
});
}
@@ -109,6 +109,9 @@ export class OptsExpedientePage implements OnInit {
this.close();
this.processes.SetTaskToPending(this.task.SerialNumber).subscribe(res=>{
this.goBack();
},()=>{
this.toastService.badRequest('Processo não encontrado')
});
}
@@ -75,7 +75,11 @@ export class RequestOptionsPage implements OnInit {
this.processes.SetTaskToPending(this.task.SerialNumber).subscribe(res=>{
console.log(res);
this.close();
},()=>{
this.toastService.badRequest('Processo não encontrado')
});
}
async openBookMeetingModal(task: any) {