Commit 1d9e95132e126210f6dad6f201bc0d0ce3652114

Authored by Eric Fernandez
1 parent de6c18d28d
Exists in master and in 1 other branch develop

get idVendedor en mobile

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
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'