projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Report fixed according to changed headers API in FrontReport class.
[fa-stable.git]
/
reporting
/
rep709.php
diff --git
a/reporting/rep709.php
b/reporting/rep709.php
index 3fc4c6375673372cf19974563a047c1fb5625ee0..d944960c87b16e97d4c9be84ecedd9adec0563e7 100644
(file)
--- a/
reporting/rep709.php
+++ b/
reporting/rep709.php
@@
-107,7
+107,7
@@
function print_tax_report()
$rep->Info($params, $cols, $headers, $aligns);
if (!$summaryOnly)
{
$rep->Info($params, $cols, $headers, $aligns);
if (!$summaryOnly)
{
- $rep->
Header
();
+ $rep->
NewPage
();
}
$totalnet = 0.0;
}
$totalnet = 0.0;
@@
-140,7
+140,7
@@
function print_tax_report()
if ($rep->row < $rep->bottomMargin + $rep->lineHeight)
{
$rep->Line($rep->row - 2);
if ($rep->row < $rep->bottomMargin + $rep->lineHeight)
{
$rep->Line($rep->row - 2);
- $rep->
Header
();
+ $rep->
NewPage
();
}
}
if ($trans['trans_type']==ST_JOURNAL && $trans['amount']<0) {
}
}
if ($trans['trans_type']==ST_JOURNAL && $trans['amount']<0) {
@@
-170,7
+170,7
@@
function print_tax_report()
$rep->headers = $headers2;
$rep->aligns = $aligns2;
$rep->headers = $headers2;
$rep->aligns = $aligns2;
- $rep->
Header
();
+ $rep->
NewPage
();
$taxtotal = 0;
foreach( $taxes as $id=>$sum)
$taxtotal = 0;
foreach( $taxes as $id=>$sum)