Commit 02bd2f0b6d213dfb2db1fb3efb1944a987869aa2
1 parent
c32953f827
Exists in
master
Envio de data a modal busqueda de cliente.
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -485,7 +485,10 @@ angular.module('focaCrearNotaPedido').controller('notaPedidoCtrl', |
485 | 485 | controller: 'focaBusquedaClienteModalController', |
486 | 486 | resolve: { |
487 | 487 | vendedor: function () { return { id: $scope.idVendedor }; }, |
488 | - cobrador: function () { return null; } | |
488 | + cobrador: function () { return null; }, | |
489 | + searchText: function () { | |
490 | + return $scope.cliente ? $scope.cliente.nom : ''; | |
491 | + } | |
489 | 492 | }, |
490 | 493 | size: 'lg' |
491 | 494 | } |