From 73eb209158758d4e2b51f9f782f03d1ee10106c1 Mon Sep 17 00:00:00 2001
From: Eric Fernandez
Date: Fri, 6 Sep 2019 15:13:49 -0300
Subject: [PATCH] save on efectivo
---
.../confirmacion-carrito.component.html | 12 ++++++------
.../confirmacion-carrito/confirmacion-carrito.component.ts | 13 ++++++++++---
2 files changed, 16 insertions(+), 9 deletions(-)
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']);
--
1.9.1