Commit 53ef67bc89dcab4c4e4dd44a13429f24126bfd3e

Authored by Marcelo Puebla
Exists in master

Merge branch 'master' into 'develop'

Master

See merge request !112
src/js/controller.js
... ... @@ -649,6 +649,7 @@ angular.module('focaCrearNotaPedido').controller('notaPedidoCtrl',
649 649 abrirModal();
650 650 }
651 651 function abrirModal() {
  652 + var parametros = { idCliente: $scope.notaPedido.cliente.COD, idListaPrecio : $scope.notaPedido.cliente.MOD};
652 653 var modalInstance = $uibModal.open(
653 654 {
654 655 ariaLabelledBy: 'Busqueda de Precio Condición',
... ... @@ -656,8 +657,7 @@ angular.module('focaCrearNotaPedido').controller('notaPedidoCtrl',
656 657 controller: 'focaModalPrecioCondicionController',
657 658 size: 'lg',
658 659 resolve: {
659   - idListaPrecio: function () { return $scope.notaPedido.cliente.MOD || null; },
660   - idCliente: function () { return $scope.notaPedido.cliente.COD }
  660 + parametros: function () { return parametros; },
661 661 }
662 662 }
663 663 );