Commit 0d8efeb89116a570be4d68e9056dfa3440b94dec

Authored by Eric Fernandez
1 parent c0a40582d1
Exists in develop

?

Showing 1 changed file with 7 additions and 5 deletions   Show diff stats
src/js/controller.js
... ... @@ -488,11 +488,13 @@ angular.module('focaCrearNotaPedido').controller('notaPedidoCtrl',
488 488 templateUrl: 'foca-busqueda-cliente-modal.html',
489 489 controller: 'focaBusquedaClienteModalController',
490 490 resolve: {
491   - vendedor: function () { return { id: $scope.idVendedor }; },
492   - cobrador: function () { return null; },
493   - searchText: function () {
494   - return $scope.notaPedido.cliente ?
495   - $scope.notaPedido.cliente.NOM : '';
  491 + parametros: function () {
  492 + return {
  493 + vendedor: $scope.idVendedor,
  494 + cobrador: null,
  495 + searchText: $scope.notaPedido.cliente ?
  496 + $scope.notaPedido.cliente.NOM : ''
  497 + };
496 498 }
497 499 },
498 500 size: 'lg'