fix discart method

This commit is contained in:
tiago.kayaya
2021-04-07 10:38:53 +01:00
parent 59f768488f
commit d4bb2a0a99
@@ -40,7 +40,7 @@ export class DiscartExpedientModalPage implements OnInit {
}
save(){
/* if(this.action != 'discart'){
if(this.action != 'discart'){
let body = { "serialNumber": this.serialNumber, "action": "Tratado" }
console.log(body);
this.processes.PostTaskAction(body);
@@ -49,7 +49,7 @@ export class DiscartExpedientModalPage implements OnInit {
let body = { "serialNumber": this.serialNumber, "action": "Passivo" }
console.log(body);
this.processes.PostTaskAction(body);
} */
}
this.router.navigate(['/home/gabinete-digital/expediente']);
this.modalController.dismiss('close');
}