Commit e0f833c8dc86e4709de1a04215b63e7be4a12455

Authored by Eric Fernandez
Exists in master

Merge branch 'master' into 'develop'

Master(efernandez)

See merge request !103
src/js/controller.js
... ... @@ -461,13 +461,14 @@ angular.module('focaCrearNotaPedido').controller('notaPedidoCtrl',
461 461  
462 462 $scope.seleccionarCliente = function () {
463 463 if (validarNotaRemitada()) {
  464 +
464 465 var modalInstance = $uibModal.open(
465 466 {
466 467 ariaLabelledBy: 'Busqueda de Cliente',
467 468 templateUrl: 'foca-busqueda-cliente-modal.html',
468 469 controller: 'focaBusquedaClienteModalController',
469 470 resolve: {
470   - vendedor: function () { return null; },
  471 + vendedor: function () { return { id: $scope.idVendedor} },
471 472 cobrador: function () { return null; }
472 473 },
473 474 size: 'lg'