X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep705.php;h=a9ca35ea20d92f124668b15a7280ddb376ac8741;hb=7d9fe15f85c15572535c5fa4555b9a72e9d93f04;hp=610a82bd4675ff213a102cf3a2e45bbb87d8c37c;hpb=a8d2bad4b2fbda5eaa5bcbf96733c2979b8083c7;p=fa-stable.git diff --git a/reporting/rep705.php b/reporting/rep705.php index 610a82bd..a9ca35ea 100644 --- a/reporting/rep705.php +++ b/reporting/rep705.php @@ -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) {