Commit 449493d309aa716d713ba53f747674068fee22ba
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master See merge request !5
Showing
1 changed file
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 | }); |