diff --git a/src/app/components/confirmacion-carrito/confirmacion-carrito.component.html b/src/app/components/confirmacion-carrito/confirmacion-carrito.component.html index b67fb2d..131ee8a 100644 --- a/src/app/components/confirmacion-carrito/confirmacion-carrito.component.html +++ b/src/app/components/confirmacion-carrito/confirmacion-carrito.component.html @@ -117,7 +117,7 @@

- + @@ -156,17 +156,17 @@
+ (click)="pagar('efectivo')">
Efectivo
+ src="{{apiImagenes}}/imagenes/efectivo.png" + class="w-50 float-right mr-3">
- +
@@ -178,7 +178,7 @@ class="w-50 float-right mr-3">
- +
{ clearTimeout(this.timerReposo); - this.compraConQRfinalizada = true; + + if (medioPago == 'efectivo') { + + this.compraConEfectivofinalizada = true; + } else if (medioPago == 'electronico') { + + this.compraConQRfinalizada = true; + this.verQR = true; + } + setTimeout(() => { this.router.navigate(['mensaje-final']);