Commit 925f800ac0c9384d3d296b37a211b0e139da8c35
1 parent
4654696898
Exists in
master
and in
1 other branch
fix cotizacion dolar
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -37,7 +37,7 @@ angular.module('focaModalCotizacion') |
37 | 37 | $scope.obteniendoCotizacion = true; |
38 | 38 | focaModalCotizacionService.getCotizacionesActuales() |
39 | 39 | .then(function(res) { |
40 | - var moneda = ($scope.moneda.CODIGO_AFIP === 'DOL') ? 'DBNA' : 'EURPES'; | |
40 | + var moneda = ($scope.moneda.SIMBOLO === 'U$s') ? 'DBNA' : 'EURPES'; | |
41 | 41 | var precio = res.data.filter(function(cotizacion) { |
42 | 42 | return cotizacion.papel === moneda; |
43 | 43 | }); |