Commit 635ea8e10df4983553297f73f265400e96a56c3b
1 parent
b3d13fb310
Exists in
master
Borrado comentario.
Showing
1 changed file
with
0 additions
and
63 deletions
Show diff stats
src/app/components/comanda/comanda.component.html
| ... | ... | @@ -45,66 +45,3 @@ |
| 45 | 45 | </div> |
| 46 | 46 | </div> |
| 47 | 47 | </div> |
| 48 | - | |
| 49 | -<!-- <div class="row m-0"> | |
| 50 | - <div | |
| 51 | - [ngClass]="{'swing-out-top-bck': comanda.estado === 3}" | |
| 52 | - class="col-2 col-1-5 p-1" *ngFor="let comanda of comandas"> | |
| 53 | - | |
| 54 | - <div | |
| 55 | - class="fade-in rounded-xs shadow-sm" | |
| 56 | - [ngClass]=" | |
| 57 | - { | |
| 58 | - 'bg-light': comanda.estado === 1, | |
| 59 | - 'bg-danger': comanda.estado === 2, | |
| 60 | - 'bg-success': comanda.estado === 3 | |
| 61 | - }"> | |
| 62 | - <div class="row w-100 m-0"> | |
| 63 | - <p class="col-12 p-1 mb-2 m-0 h5 text-center">{{comanda.id}}.</p> | |
| 64 | - <p | |
| 65 | - [ngClass]=" | |
| 66 | - { | |
| 67 | - 'border-secondary': comanda.estado === 1, | |
| 68 | - 'border-light': comanda.estado != 1 | |
| 69 | - }" | |
| 70 | - class="col-12 p-2 mb-2 m-0 h6 border-top"> | |
| 71 | - <small> | |
| 72 | - {{comanda.detalles[0].articulo.DET_LAR}} | |
| 73 | - </small> | |
| 74 | - </p> | |
| 75 | - </div> | |
| 76 | - <div class="row w-100 m-0 mb-2 mt-auto"> | |
| 77 | - <div | |
| 78 | - class="col-12 p-2" | |
| 79 | - *ngIf="comanda.estado === 1"> | |
| 80 | - <button | |
| 81 | - class="btn btn-block btn-danger shadow-sm" | |
| 82 | - (click)="updateComanda(comanda, 2, 'En elaboracion')"> | |
| 83 | - Elaborar | |
| 84 | - </button> | |
| 85 | - </div> | |
| 86 | - <div | |
| 87 | - class="col-12 p-2" | |
| 88 | - *ngIf="comanda.estado === 2"> | |
| 89 | - <button | |
| 90 | - class="btn btn-block btn-success shadow-sm" | |
| 91 | - (click)="updateComanda(comanda, 3, 'Terminado')"> | |
| 92 | - Terminado | |
| 93 | - </button> | |
| 94 | - </div> | |
| 95 | - </div> | |
| 96 | - <div | |
| 97 | - *ngIf="comanda.estado === 2" | |
| 98 | - class="row w-100 mx-0 mb-2"> | |
| 99 | - <div class="col-12 px-2 pb-2"> | |
| 100 | - <button | |
| 101 | - class="btn btn-block btn-light btn-sm shadow-sm p-0" | |
| 102 | - (click)="updateComanda(comanda, 1, 'Pagado')"> | |
| 103 | - <span class="pr-1 h6"><small>En espera</small></span> | |
| 104 | - <i class="fa fa-undo text-warning" aria-hidden="true"></i> | |
| 105 | - </button> | |
| 106 | - </div> | |
| 107 | - </div> | |
| 108 | - </div> | |
| 109 | - </div> | |
| 110 | -</div--> |