Commit 531a6bf74893b3b694819a41f0c2a3e2d24da260
1 parent
8f055fb560
Exists in
master
and in
2 other branches
sercicios
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
src/js/service.js
... | ... | @@ -9,6 +9,12 @@ angular.module('focaModalDetalleHojaRuta') |
9 | 9 | }, |
10 | 10 | getCisternasByIdRemito: function(idRemito) { |
11 | 11 | return $http.get(API_ENDPOINT.URL + '/cisternas/obtener/remito/' + idRemito); |
12 | + }, | |
13 | + getRemitoById: function(idRemito) { | |
14 | + return $http.get(API_ENDPOINT.URL + '/remito/obtener/' + idRemito + '/punto'); | |
15 | + }, | |
16 | + postMovimientoHojaRuta: function(datos) { | |
17 | + return $http.post(API_ENDPOINT.URL + '/hoja-ruta/movimiento', datos); | |
12 | 18 | } |
13 | 19 | }; |
14 | 20 | } |