From: Joe Hunt Date: Thu, 29 Jan 2009 13:40:36 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v2.4.2~19^2~1575 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=52a84fdb29d2d21b2ba7fb239fa73ce8601fb946;p=fa-stable.git *** empty log message *** --- 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(); }