Commit 35cfb8e4870465237fea2d81894be281ccb15f61

Authored by Eric Fernandez
Exists in master and in 1 other branch validar_pve

Merge branch 'master' into 'master'

Master(efernandez)

See merge request !92
src/app/components/confirmacion-carrito/confirmacion-carrito.component.ts
... ... @@ -81,6 +81,11 @@ export class ConfirmacionCarritoComponent implements OnInit, OnDestroy {
81 81  
82 82 pagar(medioPago: string) {
83 83  
  84 + if (medioPago == 'electronico') {
  85 +
  86 + this.verQR = true;
  87 + }
  88 +
84 89 this.productoService.pagar(medioPago)
85 90 .subscribe(() => {
86 91  
... ... @@ -92,7 +97,6 @@ export class ConfirmacionCarritoComponent implements OnInit, OnDestroy {
92 97 } else if (medioPago == 'electronico') {
93 98  
94 99 this.compraConQRfinalizada = true;
95   - this.verQR = true;
96 100 }
97 101  
98 102 setTimeout(() => {