From 26c1012dbc12312025840b5a5de7ddf311ee5baf Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Wed, 13 Apr 2011 14:50:02 +0200 Subject: [PATCH] Minor bug in on screen Trial Balance (wrong Dimension warning) --- gl/inquiry/gl_trial_balance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl/inquiry/gl_trial_balance.php b/gl/inquiry/gl_trial_balance.php index 2ab1162..e4228cb 100644 --- a/gl/inquiry/gl_trial_balance.php +++ b/gl/inquiry/gl_trial_balance.php @@ -223,7 +223,7 @@ while ($class = db_fetch($classresult)) end_row(); end_table(1); - if (($pbal = round2($pbal, user_price_dec())) != 0) + if (($pbal = round2($pbal, user_price_dec())) != 0 && $_POST['Dimension'] == 0 && $_POST['Dimension2'] == 0) display_warning(_("The Opening Balance is not in balance, probably due to a non closed Previous Fiscalyear.")); div_end(); -- 2.30.2