From d836dbc78af7a48e0f26432dd1f185667e03998b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s?= Date: Tue, 29 Jan 2019 17:25:03 -0300 Subject: [PATCH] fix botonera --- src/js/controller.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'], -- 1.9.1