Commit 76b515f08fba4c97c5f88c93966e472484a0f12f
1 parent
c0480eee32
Exists in
develop
arreglo de MR
Showing
3 changed files
with
18 additions
and
18 deletions
Show diff stats
angular.json
| ... | ... | @@ -29,13 +29,13 @@ |
| 29 | 29 | ], |
| 30 | 30 | "styles": [ |
| 31 | 31 | "./node_modules/bootstrap/dist/css/bootstrap.min.css", |
| 32 | - "node_modules/@fortawesome/fontawesome-free/css/all.min.css", | |
| 32 | + "./node_modules/@fortawesome/fontawesome-free/css/all.min.css", | |
| 33 | 33 | "src/styles.scss" |
| 34 | 34 | ], |
| 35 | 35 | "scripts": [ |
| 36 | 36 | "./node_modules/jquery/dist/jquery.slim.min.js", |
| 37 | 37 | "./node_modules/popper.js/dist/umd/popper.min.js", |
| 38 | - "node_modules/@fortawesome/fontawesome-free/js/all.min.js", | |
| 38 | + "./node_modules/@fortawesome/fontawesome-free/js/all.min.js", | |
| 39 | 39 | "./node_modules/bootstrap/dist/js/bootstrap.min.js" |
| 40 | 40 | ] |
| 41 | 41 | }, |
src/app/modules/comanda/comanda.component.html
src/app/modules/comanda/comanda.component.ts
| ... | ... | @@ -99,20 +99,20 @@ export class ComandaComponent implements OnInit { |
| 99 | 99 | return componentes.some(c => c.tipoArticulo === 6); |
| 100 | 100 | } |
| 101 | 101 | |
| 102 | - //#region TIMERS | |
| 103 | - startTimersPedido(comandas) { | |
| 104 | - comandas.forEach((comanda: IComanda) => { | |
| 105 | - this.comandaService.startTimerComanda(comanda, 'Pedido'); | |
| 106 | - if (comanda.estado === 2) { | |
| 107 | - this.startTimerElaboracion(comanda); | |
| 108 | - } | |
| 109 | - }); | |
| 110 | - } | |
| 111 | - | |
| 112 | - startTimerElaboracion(comanda: IComanda) { | |
| 113 | - this.spinnerService.show(comanda.id.toString()); | |
| 114 | - this.comandaService.startTimerComanda(comanda, 'Elaboracion'); | |
| 115 | - } | |
| 116 | - //#endregion | |
| 102 | + //#region TIMERS | |
| 103 | + startTimersPedido(comandas) { | |
| 104 | + comandas.forEach((comanda: IComanda) => { | |
| 105 | + this.comandaService.startTimerComanda(comanda, 'Pedido'); | |
| 106 | + if (comanda.estado === 2) { | |
| 107 | + this.startTimerElaboracion(comanda); | |
| 108 | + } | |
| 109 | + }); | |
| 110 | + } | |
| 111 | + | |
| 112 | + startTimerElaboracion(comanda: IComanda) { | |
| 113 | + this.spinnerService.show(comanda.id.toString()); | |
| 114 | + this.comandaService.startTimerComanda(comanda, 'Elaboracion'); | |
| 115 | + } | |
| 116 | + //#endregion | |
| 117 | 117 | |
| 118 | 118 | } |