New variable in config.php, $use_oldstyle_convert, if set to 1, same convert as in...
[fa-stable.git] / reporting / rep705.php
index 610a82bd4675ff213a102cf3a2e45bbb87d8c37c..a9ca35ea20d92f124668b15a7280ddb376ac8741 100644 (file)
@@ -285,7 +285,7 @@ function print_annual_expense_breakdown()
                }
                $classname = $account['AccountClassName'];
                $ctype = $account['ClassType'];
-               $convert = (($ctype == CL_INCOME || $ctype == 0) ? -1 : 1); // backwards compatibility
+               $convert = get_class_type_convert($ctype); 
 
                if ($account['account_code'] != null)
                {