Print Statement prints balances in wrong place.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 4 Dec 2009 08:59:55 +0000 (08:59 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 4 Dec 2009 08:59:55 +0000 (08:59 +0000)
CHANGELOG.txt
reporting/rep108.php

index 067f02a748b0fabcd4bca30c6827464b6bfe3ef3..8ecbdd882ab4628469a83b5cfea2aaac5e05e11f 100644 (file)
@@ -19,6 +19,10 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+04-Dec-2009 Joe Hunt
+# Print Statement prints balances in wrong place.
+$ /reporting/rep108.php
+
 03-Dec-2009 Janusz Dobrowolski
 # Fixed bug [0000179] data error in supplier allocations
 $ /includes/ui/allocation_cart.inc
index 97c4413bc711cf308dc8ae5200cb1e2c86e2ebb6..a3519221d453818e5588b3f68b8385948bf280f4 100644 (file)
@@ -156,7 +156,7 @@ function print_statements()
                        number_format2($CustomerRecord["Balance"],$dec));
                $col = array($rep->cols[0], $rep->cols[0] + 110, $rep->cols[0] + 210, $rep->cols[0] + 310,
                        $rep->cols[0] + 410, $rep->cols[0] + 510);
-               $rep->row = $rep->bottomMargin + (8 * $rep->lineHeight - 6);
+               $rep->row = $rep->bottomMargin + (10 * $rep->lineHeight - 6);
                for ($i = 0; $i < 5; $i++)
                        $rep->TextWrap($col[$i], $rep->row, $col[$i + 1] - $col[$i], $str[$i], 'right');
                $rep->NewLine();