Commit 8cba890f36bb798a4d62de4a04beb7e0cdffc31a

Authored by Marcelo Puebla
1 parent 1b2312a914
Exists in master and in 1 other branch develop

Cambio en el servicio para hacer get de facturas.

Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
... ... @@ -2,16 +2,16 @@ angular.module('focaModalFactura')
2 2 .factory('focaModalFacturaService', [
3 3 '$http',
4 4 'API_ENDPOINT',
5   - function($http, API_ENDPOINT) {
  5 + function ($http, API_ENDPOINT) {
6 6 return {
7   - getFacturasByIdCliente: function(idCliente, idMoneda, fechaDesde, fechaHasta) {
  7 + getFacturasByIdCliente: function (idCliente, idMoneda, fechaDesde, fechaHasta) {
8 8 return $http.get(
9 9 API_ENDPOINT.URL + '/factura/cliente/' + idCliente + '/' + idMoneda + '/' +
10   - fechaDesde + '/' + fechaHasta);
  10 + fechaDesde + '/' + fechaHasta + '/' + false);
11 11 },
12   - enviarFacturaPorMail: function(receiver, factura){
  12 + enviarFacturaPorMail: function (receiver, factura) {
13 13 return $http.post(API_ENDPOINT.URL + '/mail',
14   - {receiver: receiver, factura: factura});
  14 + { receiver: receiver, factura: factura });
15 15 }
16 16 };
17 17 }