From: Joe Hunt Date: Wed, 13 Apr 2011 12:50:02 +0000 (+0200) Subject: Minor bug in on screen Trial Balance (wrong Dimension warning) X-Git-Tag: 2.3-final~696 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=8f68004009f8323387d9cefbbeac4038d1adbf9e;p=fa-stable.git Minor bug in on screen Trial Balance (wrong Dimension warning) --- 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();