Commit 8858004eec03e8ee8a8cd10231a485da0f3b1d2b
1 parent
0cf3df0ce6
Exists in
master
moneda para modal de factura
Showing
1 changed file
with
7 additions
and
4 deletions
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 | } |