From 508b7b56c1d5a1331c8c9858cff6bd5b1ecb1b86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ot=C3=A1vio?= Date: Sun, 9 Jul 2023 11:11:07 +0100 Subject: [PATCH] Fix filter --- gui/templates/home.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/templates/home.html b/gui/templates/home.html index e3ef5626..bbd56765 100644 --- a/gui/templates/home.html +++ b/gui/templates/home.html @@ -766,7 +766,7 @@

Sign a Message

offChain.d7.amt += p.value } for(inv of (await inv_rev_task).results){ - if(adjustTZ(p.creation_date) >= _1day_ago){ + if(adjustTZ(inv.creation_date) >= _1day_ago){ offChain.d1.inv_rev += inv.amt_paid } offChain.d7.inv_rev += inv.amt_paid