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; });