Commit 828d267e05b1cc1997e8b82d562de18928346155
Exists in
master
Merge branch 'master' into 'master'
Master(efernandez) See merge request !27
Showing
1 changed file
Show diff stats
src/js/service.js
... | ... | @@ -8,7 +8,7 @@ angular.module('focaLogisticaPedidoRuta') |
8 | 8 | function($http, $cookies, API_ENDPOINT, $filter) { |
9 | 9 | var url = API_ENDPOINT.URL; |
10 | 10 | return { |
11 | - idUsuario: $cookies.get('idUsuario'), | |
11 | + idUsuario: $cookies.get('vendedorCobrador'), | |
12 | 12 | obtenerActividad: function(parametros) { |
13 | 13 | return $http.post(url + '/seguimiento/filtros', parametros); |
14 | 14 | }, |
... | ... | @@ -73,6 +73,9 @@ angular.module('focaLogisticaPedidoRuta') |
73 | 73 | }, |
74 | 74 | setFechaReparto: function(fechaReparto) { |
75 | 75 | this.fecha = fechaReparto; |
76 | + }, | |
77 | + obtenerVehiculoById: function(idVehiculo) { | |
78 | + return $http.get(url + '/vehiculo/' + idVehiculo); | |
76 | 79 | } |
77 | 80 | }; |
78 | 81 | }]); |