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 @@