From 71810a12b963a9676237cdf3011b34fb1118f034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s?= Date: Thu, 6 Dec 2018 18:42:45 -0300 Subject: [PATCH] funcionamiento para acobypag_vencimiento --- src/js/controller.js | 8 +++++--- src/views/foca-modal-factura.html | 18 ++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/js/controller.js b/src/js/controller.js index ac87610..fcb608a 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -43,9 +43,11 @@ angular.module('focaModalFactura') $scope.searchLoading = true; //TODO hacer filtro de fecha focaModalFacturaService - .getFacturasByIdCliente(parametrosFactura.cliente, $scope.fechaDesde - .toISOString().split('.')[0], - $scope.fechaHasta.toISOString().split('.')[0]) + .getFacturasByIdCliente( + parametrosFactura.cliente, + '2001-01-01', + '2100-12-31' + ) .then(llenarDatos); } }; diff --git a/src/views/foca-modal-factura.html b/src/views/foca-modal-factura.html index af6c4d1..58d7931 100644 --- a/src/views/foca-modal-factura.html +++ b/src/views/foca-modal-factura.html @@ -1,7 +1,7 @@