From a335d3c8e13110304642344e4a6396bccd42801d Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Fri, 6 Aug 2010 07:22:30 +0000 Subject: [PATCH] Bank Payment on customer statements shows in credit column, should be debit. Balance ok. --- CHANGELOG.txt | 4 ++++ reporting/rep108.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 460c5329..e6317b67 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +06-Aug-2010 Joe Hunt +# Bank Payment on customer statements shows in credit column, should be debit. Balance ok. +$ /reporting/rep108.php + 04-Aug-2010 Janusz Dobrowolski + Rewritten installation wizard, uploading additional COAs form repository during install /install/index.php diff --git a/reporting/rep108.php b/reporting/rep108.php index 5becd704..0247f7cc 100644 --- a/reporting/rep108.php +++ b/reporting/rep108.php @@ -139,7 +139,7 @@ function print_statements() $rep->TextCol(2, 3, sql2date($myrow2['tran_date']), -2); if ($myrow2['type'] == ST_SALESINVOICE) $rep->TextCol(3, 4, sql2date($myrow2['due_date']), -2); - if ($myrow2['type'] == ST_SALESINVOICE) + if ($myrow2['type'] == ST_SALESINVOICE || $myrow2['type'] == ST_BANKPAYMENT) $rep->TextCol(4, 5, $DisplayTotal, -2); else $rep->TextCol(5, 6, $DisplayTotal, -2); -- 2.30.2