Bank Payment on customer statements shows in credit column, should be debit. Balance ok.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 6 Aug 2010 07:22:30 +0000 (07:22 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 6 Aug 2010 07:22:30 +0000 (07:22 +0000)
CHANGELOG.txt
reporting/rep108.php

index 460c53290867fca204a0e9901870dcfce5570004..e6317b6776b15266929ca368103dbb79024cefaf 100644 (file)
@@ -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
index 5becd70482eea435882aea990d4cd04ca730d967..0247f7cc3539ef3ec2e95ff9c0900d7080e138ba 100644 (file)
@@ -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);