+ if ($_POST["account"] != null)
+ display_heading($_POST["account"]. " ".$act_name);
+
+ // Only show balances if an account is specified AND we're not filtering by amounts
+ $show_balances = $_POST["account"] != null &&
+ input_num("amount_min") == 0 &&
+ input_num("amount_max") == 0;
+
+ start_table(TABLESTYLE);
+
+ $first_cols = array(_("Type"), _("#"), _("Date"));
+
+ if ($_POST["account"] == null)
+ $account_col = array(_("Account"));
+ else
+ $account_col = array();
+