Commit 2d33a75daef4e5758c37511a603faf06c8024686

Authored by Eric Fernandez
1 parent e5eba1550d
Exists in master

modifico envío de parámetro

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
... ... @@ -34,9 +34,10 @@ angular.module('focaLogisticaPedidoRuta')
34 34 });
35 35 },
36 36 getRemitosByIdVehiculo: function(idVehiculo, sinConfirmar, sinHojaRuta) {
  37 + var sinHoja = sinHojaRuta ? '/sinHojaRuta' : '';
37 38 return $http.get(url + '/vehiculo/obtener/remitos/' +
38 39 idVehiculo + '/' + this.fecha.toISOString().substring(0, 10) +
39   - '/' + sinConfirmar + '/' + sinHojaRuta);
  40 + '/' + sinConfirmar + sinHoja);
40 41 },
41 42 getVehiculosByIdUsuario: function() {
42 43 return $http.get(url + '/vehiculo/usuario/' + this.idUsuario);