Commit d7bab3eb69879786905140b40ea1c8bb42f7ef1c

Authored by Marcelo Puebla
1 parent edb0848d9e
Exists in master and in 1 other branch develop

envio de info al modal de busqueda de cliente.

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
src/js/controller.js
... ... @@ -532,7 +532,10 @@ angular.module('focaCrearRemito').controller('remitoController',
532 532 controller: 'focaBusquedaClienteModalController',
533 533 resolve: {
534 534 vendedor: function () { return null; },
535   - cobrador: function () { return null; }
  535 + cobrador: function () { return null; },
  536 + searchText: function () {
  537 + return $scope.cliente ? $scope.cliente.nom : '';
  538 + }
536 539 },
537 540 size: 'lg'
538 541 }