From: Joe Hunt Date: Fri, 6 Apr 2012 06:30:20 +0000 (+0200) Subject: 0001497: Tax for journal entry the other way round X-Git-Tag: 2.3-final~466 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=29897258f8daa00a8ce1f8d9a113f28a58c2e4c2;p=fa-stable.git 0001497: Tax for journal entry the other way round --- diff --git a/reporting/rep709.php b/reporting/rep709.php index dbe25e5b..54b1a900 100644 --- a/reporting/rep709.php +++ b/reporting/rep709.php @@ -122,7 +122,7 @@ function print_tax_report() while ($trans=db_fetch($transactions)) { - if (in_array($trans['trans_type'], array(ST_CUSTCREDIT,ST_SUPPINVOICE))) { + if (in_array($trans['trans_type'], array(ST_CUSTCREDIT,ST_SUPPINVOICE,ST_JOURNAL))) { $trans['net_amount'] *= -1; $trans['amount'] *= -1; }