Commit 44cbbf9966c101a082e26924e2d1a9147aee5306
Exists in
master
Merge branch 'master' of http://git.focasoftware.com/npm/foca-crear-cobranza
Showing
1 changed file
Show diff stats
src/js/controller.js
... | ... | @@ -277,10 +277,13 @@ angular.module('focaCrearCobranza') .controller('cobranzaController', |
277 | 277 | controller: 'focaModalFacturaController', |
278 | 278 | size: 'lg', |
279 | 279 | resolve: { |
280 | - parametrosFactura: { | |
281 | - cliente: $scope.cobranza.cliente.COD, | |
282 | - simbolo: $scope.cobranza.moneda.SIMBOLO, | |
283 | - cotizacion: $scope.cobranza.cotizacion.VENDEDOR | |
280 | + parametrosFactura: function() { | |
281 | + return { | |
282 | + cliente: $scope.cobranza.cliente.COD, | |
283 | + simbolo: $scope.cobranza.moneda.SIMBOLO, | |
284 | + cotizacion: $scope.cobranza.cotizacion.VENDEDOR, | |
285 | + moneda: $scope.cobranza.moneda.ID | |
286 | + }; | |
284 | 287 | } |
285 | 288 | } |
286 | 289 | } |