Commit 5d73d6fdbc9b9ecca565fb2ca05605091cb29448
Exists in
master
Merge branch 'master' of http://git.focasoftware.com/npm/foca-logistica-pedido-ruta
Showing
1 changed file
Show diff stats
src/js/controller.js
... | ... | @@ -131,7 +131,7 @@ angular.module('focaLogisticaPedidoRuta') .controller('focaLogisticaPedidoRutaCo |
131 | 131 | getSeguimiento(); |
132 | 132 | }; |
133 | 133 | |
134 | - $scope.seleccionarUnidad = function() { | |
134 | + $scope.seleccionarVehículo = function() { | |
135 | 135 | var modalInstance = $uibModal.open( |
136 | 136 | { |
137 | 137 | ariaLabelledBy: 'Busqueda de Transportista', |
... | ... | @@ -146,11 +146,11 @@ angular.module('focaLogisticaPedidoRuta') .controller('focaLogisticaPedidoRutaCo |
146 | 146 | } |
147 | 147 | ); |
148 | 148 | modalInstance.result.then(function(transportista) { |
149 | - $scope.seleccionarVehiculo(transportista.COD); | |
149 | + $scope.selectVehiculo(transportista.COD); | |
150 | 150 | }); |
151 | 151 | }; |
152 | 152 | |
153 | - $scope.seleccionarVehiculo = function(idTransportista) { | |
153 | + $scope.selectVehiculo = function(idTransportista) { | |
154 | 154 | var query = '/vehiculo/transportista/' + idTransportista; |
155 | 155 | var columnas = { |
156 | 156 | nombre: ['Código', 'tractor', 'Semi', 'Capacidad'], |