From 7f9c2439c4d6bae55025fbcb6789decbb159a513 Mon Sep 17 00:00:00 2001 From: rockstardev Date: Sat, 11 May 2019 18:31:52 -0500 Subject: [PATCH] Custom date range filtering modal --- .../Views/Invoice/ListInvoices.cshtml | 80 +++++++++++++++++++ BTCPayServer/Views/Shared/SyncModal.cshtml | 8 +- BTCPayServer/wwwroot/main/site.js | 45 ++++++----- 3 files changed, 112 insertions(+), 21 deletions(-) diff --git a/BTCPayServer/Views/Invoice/ListInvoices.cshtml b/BTCPayServer/Views/Invoice/ListInvoices.cshtml index e2886164f..b89133d3e 100644 --- a/BTCPayServer/Views/Invoice/ListInvoices.cshtml +++ b/BTCPayServer/Views/Invoice/ListInvoices.cshtml @@ -7,6 +7,7 @@ } +@Html.HiddenFor(a=>a.Count)
@@ -84,6 +85,7 @@ Last 24 hours Last 3 days Last 7 days + Unfiltered
@@ -95,6 +97,84 @@ + @* Custom Range Modal *@ + + + @* Custom Range Modal *@ +
diff --git a/BTCPayServer/Views/Shared/SyncModal.cshtml b/BTCPayServer/Views/Shared/SyncModal.cshtml index 53973f0da..efa198c3a 100644 --- a/BTCPayServer/Views/Shared/SyncModal.cshtml +++ b/BTCPayServer/Views/Shared/SyncModal.cshtml @@ -1,6 +1,8 @@ @inject BTCPayServer.HostedServices.NBXplorerDashboard dashboard -