From 52a84fdb29d2d21b2ba7fb239fa73ce8601fb946 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Thu, 29 Jan 2009 13:40:36 +0000 Subject: [PATCH] *** empty log message *** --- reporting/rep709.php | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/reporting/rep709.php b/reporting/rep709.php index d651b36f..13a0c4c6 100644 --- a/reporting/rep709.php +++ b/reporting/rep709.php @@ -99,20 +99,19 @@ function print_tax_report() while ($tax=db_fetch($res)) $taxes[$tax['id']] = array('in'=>0, 'out'=>0, 'taxin'=>0, 'taxout'=>0); - if (!$summaryOnly) - { - $cols = array(0, 80, 130, 180, 290, 370, 455, 505, 555); - - $headers = array(_('Trans Type'), _('Ref'), _('Date'), _('Name'), _('Branch Name'), - _('Net'), _('Rate'), _('Tax')); - $aligns = array('left', 'left', 'left', 'left', 'left', 'right', 'right', 'right'); + $params = array( 0 => $comments, + 1 => array('text' => _('Period'), 'from' => $from, 'to' => $to), + 2 => array('text' => _('Type'), 'from' => $summary, 'to' => '')); - $params = array( 0 => $comments, - 1 => array('text' => _('Period'), 'from' => $from, 'to' => $to), - 2 => array('text' => _('Type'), 'from' => $summary, 'to' => '')); + $cols = array(0, 80, 130, 180, 290, 370, 455, 505, 555); - $rep->Font(); - $rep->Info($params, $cols, $headers, $aligns); + $headers = array(_('Trans Type'), _('Ref'), _('Date'), _('Name'), _('Branch Name'), + _('Net'), _('Rate'), _('Tax')); + $aligns = array('left', 'left', 'left', 'left', 'left', 'right', 'right', 'right'); + $rep->Font(); + $rep->Info($params, $cols, $headers, $aligns); + if (!$summaryOnly) + { $rep->Header(); } -- 2.30.2