Commit c2175985791cc73f56220a1d560a639846260eb5
Exists in
master
Merge branch 'master' of http://git.focasoftware.com/angular/autoservicio
Showing
5 changed files
Show diff stats
src/app/components/comanda/comanda.component.html
src/app/components/confirmacion-carrito/confirmacion-carrito.component.html
... | ... | @@ -200,6 +200,7 @@ |
200 | 200 | |
201 | 201 | <div |
202 | 202 | *ngIf="compraConQRfinalizada" |
203 | + [routerLink]="['/mensaje-final']" | |
203 | 204 | class="row m-0 fade-in bg-primary-gradient disable-user-select vh-100"> |
204 | 205 | <div class="col-12 text-center text-white my-auto"> |
205 | 206 | <p class="font-weight-bold display-4"> |
... | ... | @@ -218,6 +219,7 @@ |
218 | 219 | |
219 | 220 | <div |
220 | 221 | *ngIf="compraConEfectivofinalizada" |
222 | + [routerLink]="['/mensaje-final']" | |
221 | 223 | class="row m-0 fade-in bg-primary-gradient disable-user-select vh-100"> |
222 | 224 | <div class="col-12 text-center text-white my-auto"> |
223 | 225 | <p class="font-weight-bold display-4"> |
src/app/components/confirmacion-carrito/confirmacion-carrito.component.ts
... | ... | @@ -69,16 +69,6 @@ export class ConfirmacionCarritoComponent implements OnInit, OnDestroy { |
69 | 69 | } |
70 | 70 | |
71 | 71 | //#region METODOS PARA LA FORMA DE PAGO |
72 | - pagoEfectivo() { | |
73 | - | |
74 | - this.compraConEfectivofinalizada = true; | |
75 | - clearTimeout(this.timerReposo); | |
76 | - setTimeout(() => { | |
77 | - | |
78 | - this.router.navigate(['mensaje-final']); | |
79 | - }, 3000); | |
80 | - } | |
81 | - | |
82 | 72 | pagar(medioPago: string) { |
83 | 73 | |
84 | 74 | if (medioPago == 'electronico') { |
... | ... | @@ -102,7 +92,7 @@ export class ConfirmacionCarritoComponent implements OnInit, OnDestroy { |
102 | 92 | setTimeout(() => { |
103 | 93 | |
104 | 94 | this.router.navigate(['mensaje-final']); |
105 | - }, 3000); | |
95 | + }, 15000); | |
106 | 96 | }, err => { |
107 | 97 | console.log(err); |
108 | 98 | alert('algo salió mal'); |
src/app/components/popover-promos/popover-promos.component.html
src/assets/scss/bootstrap-override.scss
... | ... | @@ -10,9 +10,9 @@ $theme-colors: ( |
10 | 10 | ); |
11 | 11 | |
12 | 12 | .popover { |
13 | - transform: translate3d(-425px, 0, -34px) !important; | |
13 | + transform: translate3d(-100%, 0, -34px) !important; | |
14 | 14 | min-width: 350px !important; |
15 | - max-width: 425px !important; | |
15 | + max-width: 65% !important; | |
16 | 16 | border: none !important; |
17 | 17 | border-radius: 1.5rem !important; |
18 | 18 | padding: 0 !important; |