From 29897258f8daa00a8ce1f8d9a113f28a58c2e4c2 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Fri, 6 Apr 2012 08:30:20 +0200 Subject: [PATCH] 0001497: Tax for journal entry the other way round --- reporting/rep709.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2