From b3d13fb3103bb4862f337a51e24a60b9d509f236 Mon Sep 17 00:00:00 2001 From: mpuebla Date: Fri, 6 Sep 2019 12:32:44 -0300 Subject: [PATCH] Arreglo de vista. --- src/app/components/comanda/comanda.component.html | 152 +++++++++++++++------- 1 file changed, 102 insertions(+), 50 deletions(-) diff --git a/src/app/components/comanda/comanda.component.html b/src/app/components/comanda/comanda.component.html index 068013f..d8d7a9c 100644 --- a/src/app/components/comanda/comanda.component.html +++ b/src/app/components/comanda/comanda.component.html @@ -1,58 +1,110 @@
-
+
- -
- -
-

{{comanda.detalles[0].articulo.DetArt}}

-

{{comanda.detalles[0].articulo.DET_LAR}}

-
-
-
- -
-
- -
+ *ngFor="let comanda of comandas" + class="card fade-in rounded-xs shadow-sm" + [ngClass]="{ + 'bg-light': comanda.estado === 1, + 'bg-danger': comanda.estado === 2, + 'bg-success swing-out-top-bck': comanda.estado === 3 + }"> +
+

{{comanda.id}}.

+

+ + {{detalle.articulo.DET_LAR}} + +

+ + + +
+
+
+
+ + -- 1.9.1