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-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=e2ecdebda1b34a1feef90cbba36061281fcbda6f;p=textcart.git 0001497: Tax for journal entry the other way round --- diff --git a/reporting/rep709.php b/reporting/rep709.php index dbe25e5..54b1a90 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; }