Commit 63962ec91841c6f08c6798e3aebd27f360b50a42

Authored by Jose Pinto
1 parent 5ec68fbfc8
Exists in master

nueva ruta servicio

... ... @@ -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);
src/views/modal-informe-chofer.html
... ... @@ -7,7 +7,6 @@
7 7 </div>
8 8 </div>
9 9 <div class="modal-body" id="modal-body">
10   -
11 10 <div class="input-group row"
12 11 ng-show="buscar">
13 12 <small class="col-md-2 col-4 text-left my-1">Fecha Desde</small>