This commit is contained in:
tiago.kayaya
2021-08-02 15:27:52 +01:00
parent c1c9a4343b
commit 53981d329a
7 changed files with 115 additions and 52 deletions
@@ -88,7 +88,7 @@ export class PedidoPage implements OnInit {
toDateString(e) {
return new Date(e).toDateString()
}
async LoadTaskDetail(serial: string) {
this.processes.GetTask(this.serialnumber).subscribe(res => {
@@ -489,7 +489,7 @@ export class PedidoPage implements OnInit {
goBack() {
if(this.task.Status == "Pending" && this.caller == 'gabinete-digital'){
if (window.innerWidth <= 800) {
if (window.innerWidth <= 700) {
this.router.navigate(['/home/gabinete-digital/pendentes']);
}
else {
@@ -506,7 +506,7 @@ export class PedidoPage implements OnInit {
}
}
else {
if (window.innerWidth <= 800) {
if (window.innerWidth <= 700) {
this.router.navigate(['/home/gabinete-digital/pedidos']);
}
else {