Commit 83a8615c842e5d1587b429c6c9f59376eb36fb0e

Authored by Eric Fernandez
Exists in master and in 1 other branch develop

Merge branch 'master' into 'develop'

Master(mpuebla)

See merge request !27
... ... @@ -3,6 +3,7 @@
3 3 "version": "0.0.1",
4 4 "description": "Modal para seleccion facturas",
5 5 "scripts": {
  6 + "refresh": "gulp uglify && cp tmp/foca-modal-factura.js ../wrapper-demo/node_modules/foca-modal-factura/dist/foca-modal-factura.min.js",
6 7 "test": "echo \"Error: no test specified\" && exit 1",
7 8 "gulp-pre-commit": "gulp pre-commit",
8 9 "compile": "gulp uglify",
... ... @@ -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 }