Commit 63962ec91841c6f08c6798e3aebd27f360b50a42
1 parent
5ec68fbfc8
Exists in
master
nueva ruta servicio
Showing
2 changed files
with
2 additions
and
3 deletions
Show diff stats
src/js/service.js
| ... | ... | @@ -5,8 +5,8 @@ angular.module('focaModalInformeChofer') |
| 5 | 5 | function($http, API_ENDPOINT) { |
| 6 | 6 | return { |
| 7 | 7 | getDescargas: function(fechaDesde, fechaHasta) { |
| 8 | - return $http.get(API_ENDPOINT.URL + '/cisterna-movimiento/groupedBy/chofer/' + | |
| 9 | - fechaDesde + '/' + fechaHasta); | |
| 8 | + return $http.post(API_ENDPOINT.URL + '/informe/chofer', | |
| 9 | + {fechaDesde: fechaDesde, fechaHasta: fechaHasta}); | |
| 10 | 10 | }, |
| 11 | 11 | getEmpresa: function(id) { |
| 12 | 12 | return $http.get(API_ENDPOINT.URL + '/empresa/' + id); |