diff --git a/src/js/controller.js b/src/js/controller.js index 88e1c57..afa4feb 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -131,7 +131,7 @@ angular.module('focaLogisticaPedidoRuta') .controller('focaLogisticaPedidoRutaCo getSeguimiento(); }; - $scope.seleccionarUnidad = function() { + $scope.seleccionarVehículo = function() { var modalInstance = $uibModal.open( { ariaLabelledBy: 'Busqueda de Transportista', @@ -146,11 +146,11 @@ angular.module('focaLogisticaPedidoRuta') .controller('focaLogisticaPedidoRutaCo } ); modalInstance.result.then(function(transportista) { - $scope.seleccionarVehiculo(transportista.COD); + $scope.selectVehiculo(transportista.COD); }); }; - $scope.seleccionarVehiculo = function(idTransportista) { + $scope.selectVehiculo = function(idTransportista) { var query = '/vehiculo/transportista/' + idTransportista; var columnas = { nombre: ['Código', 'tractor', 'Semi', 'Capacidad'],