Commit 6cace292f73c710f35bb99be5a870e30c6c701bf

Authored by Eric Fernandez
Exists in master

Merge branch 'master' into 'master'

Master

See merge request !6
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 }