Commit 4e3346addd21d11b62457ecfd574632a7070b946
1 parent
c5be63091e
Exists in
master
Conservar tipo de moneda al pausar
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -27,6 +27,7 @@ angular.module('focaCrearCobranza') .controller('cobranzaController', |
27 | 27 | var moneda = res.data[0]; |
28 | 28 | moneda.cotizacion = moneda.cotizaciones[0]; |
29 | 29 | $scope.cobranza.moneda = $scope.inicial.moneda = moneda; |
30 | + $timeout(function() {getLSCobranza();}); | |
30 | 31 | }); |
31 | 32 | |
32 | 33 | $timeout(function() { |
... | ... | @@ -41,7 +42,7 @@ angular.module('focaCrearCobranza') .controller('cobranzaController', |
41 | 42 | } |
42 | 43 | |
43 | 44 | init(); |
44 | - $timeout(function() {getLSCobranza();}); | |
45 | + | |
45 | 46 | } |
46 | 47 | |
47 | 48 | function init() { |