Intergate start/end constraints in web interface

This commit is contained in:
Grégory Soutadé 2018-03-01 07:32:31 +01:00
parent 9382a49821
commit 9ba4ca5302
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ function toggleOperations(parent, operations)
<?php
foreach($_SESSION["user"]->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 "<tr class='bordered'>";
if ($account["shared"] == "1")