Commit d836dbc78af7a48e0f26432dd1f185667e03998b

Authored by Nicolás Guarnieri
1 parent d9a84d9f88
Exists in master

fix botonera

Showing 1 changed file with 3 additions and 3 deletions   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'],