From 8f68004009f8323387d9cefbbeac4038d1adbf9e 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 2ab11624..e4228cb2 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