From: Joe Hunt Date: Fri, 6 Aug 2010 07:22:30 +0000 (+0000) Subject: Bank Payment on customer statements shows in credit column, should be debit. Balance ok. X-Git-Tag: v2.4.2~19^2~732 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=a335d3c8e13110304642344e4a6396bccd42801d;hp=51d3a66003e663af6ade96f65fce6460a7d54dff;p=fa-stable.git Bank Payment on customer statements shows in credit column, should be debit. Balance ok. --- 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);