Commit 46c02023878ddf08d22509d4ac7614c33772af76

Authored by Jose Pinto
1 parent 7424f270a7
Exists in master

envio vendedor a modal clientes

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
src/js/controller.js
... ... @@ -493,6 +493,7 @@ angular.module('focaCrearRemito') .controller('remitoController',
493 493 valor: vendedor.NomVen
494 494 });
495 495 $scope.remito.idVendedor = vendedor.CodVen;
  496 + $scope.vendedor = vendedor;
496 497 }, function() {
497 498  
498 499 }
... ... @@ -536,6 +537,9 @@ angular.module('focaCrearRemito') .controller('remitoController',
536 537 ariaLabelledBy: 'Busqueda de Cliente',
537 538 templateUrl: 'foca-busqueda-cliente-modal.html',
538 539 controller: 'focaBusquedaClienteModalController',
  540 + resolve: {
  541 + vendedor: function() { return $scope.vendedor; }
  542 + },
539 543 size: 'lg'
540 544 }
541 545 );