Commit d57e07de310349c9d911d7e337dfc5b0a8aeca8d
Exists in
master
Merge branch 'master' into 'develop'
Master See merge request !69
Showing
1 changed file
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() { |