Commit 3fa5b2492d6e43d8d23fde36da9108efa03f873f

Authored by Eric Fernandez
Exists in master

Merge branch 'master' into 'master'

Master(mpuebla)

See merge request !88
src/app/components/comanda/comanda.component.ts
1 1 import { Component, OnInit } from '@angular/core';
2   -import { appSettings } from 'src/etc/AppSettings';
3 2 import { ComandaService } from 'src/app/services/comanda.service';
4 3 import { Comanda } from 'src/app/wrappers/comanda';
5 4 import * as _ from 'lodash';
  5 +import { Title } from '@angular/platform-browser';
6 6  
7 7 @Component({
8 8 selector: 'app-comanda',
... ... @@ -15,8 +15,12 @@ export class ComandaComponent implements OnInit {
15 15 private cicloTime;
16 16  
17 17 constructor(
18   - private comandaService: ComandaService
19   - ) { }
  18 + private comandaService: ComandaService,
  19 + private titleService: Title
  20 + ) {
  21 +
  22 + this.titleService.setTitle('Comanda');
  23 + }
20 24  
21 25 ngOnInit() {
22 26  
src/app/components/pedidos-salientes/pedidos-salientes.component.html
... ... @@ -8,7 +8,7 @@
8 8 <div class="row m-5 text-white text-center">
9 9  
10 10 <div class="col-12 p-0">
11   - <p class="h1 m-0">Su pedido ya esta listo.</p>
  11 + <p class="h1 m-0">Pedidos terminados.</p>
12 12 <p class="h2 m-0">Nº de Pedido</p>
13 13 </div>
14 14  
... ... @@ -16,7 +16,7 @@
16 16 *ngIf="pedidosRecientes.length"
17 17 class="col-12 p-2">
18 18 <div class="border rounded shadow h-big">
19   - <div class="font-weight-bold heartbeat m-0 h-100">
  19 + <div class="font-weight-bold m-0 h-100">
20 20 {{rellenar(pedidosRecientes[0].id.toString().slice(pedidosRecientes[0].id.toString().length - 2), 2)}}
21 21 </div>
22 22 </div>
src/app/components/pedidos-salientes/pedidos-salientes.component.ts
1 1 import { Component, OnInit } from '@angular/core';
2 2 import { ComandaService } from 'src/app/services/comanda.service';
  3 +import { Title } from '@angular/platform-browser';
3 4  
4 5 @Component({
5 6 selector: 'app-pedidos-salientes',
... ... @@ -11,7 +12,13 @@ export class PedidosSalientesComponent implements OnInit {
11 12 private pedidosRecientes = [];
12 13 private cicloTime;
13 14  
14   - constructor(private comandaService: ComandaService) { }
  15 + constructor(
  16 + private comandaService: ComandaService,
  17 + private titleService: Title
  18 + ) {
  19 +
  20 + this.titleService.setTitle('Pedidos Salientes');
  21 + }
15 22  
16 23 ngOnInit() {
17 24  
src/app/components/sidebar/sidebar.component.html
... ... @@ -84,7 +84,7 @@
84 84 ({{getCantidadProductos()}}) artículos
85 85 </p>
86 86 <p class="h4 text-secondary">Total</p>
87   - <p class="h4 font-weight-bold">{{getTotal() | currency}}</p>
  87 + <p class="h2 font-weight-bold">{{getTotal() | currency}}</p>
88 88 </div>
89 89 <div class="col-12 p-0">
90 90 <button