X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep707.php;h=0516c17ec53e8e6250a7f438052bad2cb0950414;hb=d1b959c4b73664327c2e17d5bb3fb515aabfa449;hp=15690a09a23ac1e0e840d42b2e9a37f9a937d480;hpb=ebc600101ceab69c06eac4b1bd4d1782af45de05;p=fa-stable.git diff --git a/reporting/rep707.php b/reporting/rep707.php index 15690a09..0516c17e 100644 --- a/reporting/rep707.php +++ b/reporting/rep707.php @@ -191,7 +191,7 @@ function print_profit_and_loss_statement() { for ( ; $level >= 0, $typename[$level] != ''; $level--) { - if ($account['parent'] == $closing[$level] || $account['parent'] < $last || $account['parent'] <= 0) + if ($account['parent'] == $closing[$level] || $account['parent'] < $last || $account['parent'] <= 0 || $closeclass) { $rep->row += 6; $rep->Line($rep->row); @@ -295,7 +295,7 @@ function print_profit_and_loss_statement() { for ( ; $level >= 0, $typename[$level] != ''; $level--) { - if ($account['parent'] == $closing[$level] || $account['parent'] < $last || $account['parent'] <= 0) + if ($account['parent'] == $closing[$level] || $account['parent'] < $last || $account['parent'] <= 0 || $closeclass) { $rep->row += 6; $rep->Line($rep->row);