projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New variable in config.php, $use_oldstyle_convert, if set to 1, same convert as in...
[fa-stable.git]
/
reporting
/
rep707.php
diff --git
a/reporting/rep707.php
b/reporting/rep707.php
index 7ce02b2c8c8594db6c8f2ed5b07782c549ebbd49..e19c29fee14db86c90259da0cd401424eea9bb68 100644
(file)
--- a/
reporting/rep707.php
+++ b/
reporting/rep707.php
@@
-251,8
+251,8
@@
function print_profit_and_loss_statement()
}
$classname = $account['AccountClassName'];
$ctype = $account['ClassType'];
}
$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)
{
//$per_balance *= -1;
if ($account['account_code'] != null)
{
//$per_balance *= -1;