projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f086902
)
*** empty log message ***
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 29 Jan 2009 13:40:36 +0000
(13:40 +0000)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 29 Jan 2009 13:40:36 +0000
(13:40 +0000)
reporting/rep709.php
patch
|
blob
|
history
diff --git
a/reporting/rep709.php
b/reporting/rep709.php
index d651b36f625ab5e19d8e214e3a93b95b1ef8629c..13a0c4c6689cd1329a210b30dfc6ab834a0ede5f 100644
(file)
--- 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);
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();
}
$rep->Header();
}