From 9ba4ca53028f533c56a897ed2029fdbd5531fa62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Thu, 1 Mar 2018 07:32:31 +0100 Subject: [PATCH] Intergate start/end constraints in web interface --- www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/index.php b/www/index.php index 5059dbd..de4afbd 100755 --- a/www/index.php +++ b/www/index.php @@ -223,7 +223,7 @@ function toggleOperations(parent, operations) accounts as $i => $account) { - if ($account["hidden"] == "1") continue; + if ($account["hidden"] == "1" || $account["end"] < (date("Y-m") . "-01")) continue; $val = GetAccountAmount($account["id"], $_SESSION["cur_month"], $_SESSION["cur_year"]); echo ""; if ($account["shared"] == "1")