From 925f800ac0c9384d3d296b37a211b0e139da8c35 Mon Sep 17 00:00:00 2001 From: Jose Pinto Date: Fri, 18 Jan 2019 17:47:01 -0300 Subject: [PATCH] fix cotizacion dolar --- src/js/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/controller.js b/src/js/controller.js index 055571b..8ef68db 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -37,7 +37,7 @@ angular.module('focaModalCotizacion') $scope.obteniendoCotizacion = true; focaModalCotizacionService.getCotizacionesActuales() .then(function(res) { - var moneda = ($scope.moneda.CODIGO_AFIP === 'DOL') ? 'DBNA' : 'EURPES'; + var moneda = ($scope.moneda.SIMBOLO === 'U$s') ? 'DBNA' : 'EURPES'; var precio = res.data.filter(function(cotizacion) { return cotizacion.papel === moneda; }); -- 1.9.1