Commit 9b87bac04b67a312ed731439824cae8ef0dad69e

Authored by Eric Fernandez
Exists in master

Merge branch 'master' into 'master'

Master(mpuebla)

See merge request !99
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');