add options

This commit is contained in:
Peter Maquiran
2021-08-11 11:15:43 +01:00
parent 4bcaba8ee0
commit da9df36320
3 changed files with 17 additions and 18 deletions
@@ -83,7 +83,7 @@ export class ExpedienteDetailPage implements OnInit {
}
async approve(note:string, documents:any){
async approve(note:string, documents:any) {
let body = {
"serialNumber": this.serialnumber,
"action": "Aprovar",
@@ -110,7 +110,7 @@ export class ExpedienteDetailPage implements OnInit {
}
async sendToReview(note:string, documents:any){
async sendToReview(note:string, documents:any) {
let body = {
"serialNumber": this.serialnumber,
"action": "Retificar",
@@ -231,7 +231,6 @@ export class ExpedienteDetailPage implements OnInit {
});
}
async LoadTaskDetail(serial: string) {
this.processes.GetTask(serial).subscribe(res => {
@@ -317,7 +316,7 @@ export class ExpedienteDetailPage implements OnInit {
});
}
getAttachments(serialNumber){
getAttachments(serialNumber) {
console.log(serialNumber);
this.attachmentsService.getAttachmentsBySerial(serialNumber).subscribe(res=>{
@@ -501,7 +500,7 @@ export class ExpedienteDetailPage implements OnInit {
});
}
goToEvent(eventId:any){
goToEvent(eventId:any) {
this.router.navigate(['/home/events', eventId, 'expediente']);
}