From c3fbc5fa3d6821fbcdff0715acc6856f9370928c Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Fri, 4 Dec 2009 08:59:55 +0000 Subject: [PATCH] Print Statement prints balances in wrong place. --- CHANGELOG.txt | 4 ++++ reporting/rep108.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 067f02a7..8ecbdd88 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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 diff --git a/reporting/rep108.php b/reporting/rep108.php index 97c4413b..a3519221 100644 --- a/reporting/rep108.php +++ b/reporting/rep108.php @@ -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(); -- 2.30.2