Commit 50f657d6d90db9685d96c04d473803e724d3e265
1 parent
136adf0401
Exists in
develop
agrego componentes en comandas
Showing
3 changed files
with
15 additions
and
7 deletions
Show diff stats
src/app/modules/comanda/comanda.component.html
| ... | ... | @@ -41,7 +41,7 @@ |
| 41 | 41 | <p><i class="far fa-clock fa-spin text-info"></i></p> |
| 42 | 42 | </div> |
| 43 | 43 | <div *ngFor="let detalle of comanda.detalles"> |
| 44 | - <p | |
| 44 | + <div | |
| 45 | 45 | class="card-text border-top pt-2 mb-2" |
| 46 | 46 | [ngClass]=" |
| 47 | 47 | { |
| ... | ... | @@ -49,14 +49,21 @@ |
| 49 | 49 | 'border-light': comanda.estado != 1 |
| 50 | 50 | }"> |
| 51 | 51 | <!-- DETALLE Y CANTIDAD --> |
| 52 | - <small>{{detalle.DetLar}}</small><br> | |
| 53 | - <small>CANT.{{detalle.cantidad}}</small> | |
| 54 | - </p> | |
| 55 | - <blockquote | |
| 52 | + <p> | |
| 53 | + <small>{{detalle.DetLar}}</small><br> | |
| 54 | + <small>CANT.{{detalle.cantidad}}</small> | |
| 55 | + </p> | |
| 56 | + <div *ngFor="let componente of detalle.componentes"> | |
| 57 | + <p> | |
| 58 | + <small>{{componente.DetArt.toUpperCase()}}</small> | |
| 59 | + </p> | |
| 60 | + </div> | |
| 61 | + </div> | |
| 62 | + <!-- <blockquote | |
| 56 | 63 | *ngIf="detalle.comentario"> |
| 57 | 64 | <p class="text-muted font-italic px-4" *ngIf="comanda.estado === 1"><small>{{detalle.comentario}}</small></p> |
| 58 | 65 | <p class="text-white font-italic px-4" *ngIf="comanda.estado !== 1"><small>{{detalle.comentario}}</small></p> |
| 59 | - </blockquote> | |
| 66 | + </blockquote> --> | |
| 60 | 67 | </div> |
| 61 | 68 | <!-- BOTONES --> |
| 62 | 69 | <button |
src/app/modules/comanda/comanda.component.ts