Commit e1ae85f8a3594352bb5771e2154249d4739d3391
1 parent
d177c06594
Exists in
master
and in
1 other branch
agregado servicio para crear plazos.
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
src/js/service.js
| ... | ... | @@ -23,6 +23,9 @@ angular.module('focaModalPrecioCondicion') |
| 23 | 23 | }, |
| 24 | 24 | getPlazosByIdCliente: function (id) { |
| 25 | 25 | return $http.get(API_ENDPOINT.URL + '/plazo-pago/cliente/' + id); |
| 26 | + }, | |
| 27 | + createPlazo: function (plazosPago){ | |
| 28 | + return $http.post(API_ENDPOINT.URL + '/plazos-pago', { plazosPago: plazosPago }); | |
| 26 | 29 | } |
| 27 | 30 | }; |
| 28 | 31 | } |