Commit c63f05b0fa130580f53b4fe9baea5e3a7fad5dab

Authored by Luigi
1 parent cc894cdd0e
Exists in master and in 1 other branch develop

Cambio en el nombre de la funcion

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
src/js/controller.js
... ... @@ -341,8 +341,8 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl',
341 341 }
342 342 };
343 343  
344   - $scope.seleccionarTransportista = function() {
345   - $scope.seleccionarProveedor(function() {
  344 + $scope.seleccionarProveedor = function() {
  345 + $scope.abrirModalProveedores(function() {
346 346 if (validarNotaRemitada()) {
347 347 var modalInstance = $uibModal.open(
348 348 {
... ... @@ -468,7 +468,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl',
468 468 }, ocultarVendedor);
469 469 };
470 470  
471   - $scope.seleccionarProveedor = function(callback) {
  471 + $scope.abrirModalProveedores = function(callback) {
472 472 if (validarNotaRemitada()) {
473 473 var parametrosModal = {
474 474 titulo: 'Búsqueda de Proveedor',