projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced the Excel Writer engine with XLS driver (the XML driver can later be downloaded)
[fa-stable.git]
/
reporting
/
rep706.php
diff --git
a/reporting/rep706.php
b/reporting/rep706.php
index 34fc0cba0aca495fce0e2190b18505cb9b899863..d045d5583251d77b66f49b470c3b5b7ef964d6eb 100644
(file)
--- a/
reporting/rep706.php
+++ b/
reporting/rep706.php
@@
-25,7
+25,6
@@
include_once($path_to_root . "/gl/includes/gl_db.inc");
//----------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------
-// trial_inquiry_controls();
print_balance_sheet();
print_balance_sheet();
@@
-62,15
+61,9
@@
function print_balance_sheet()
$destination = $_POST['PARAM_4'];
}
if ($destination)
$destination = $_POST['PARAM_4'];
}
if ($destination)
- {
include_once($path_to_root . "/reporting/includes/excel_report.inc");
include_once($path_to_root . "/reporting/includes/excel_report.inc");
- $filename = "BalanceSheet.xml";
- }
else
else
- {
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
- $filename = "BalanceSheet.pdf";
- }
if ($graphics)
{
include_once($path_to_root . "/reporting/includes/class.graphic.inc");
if ($graphics)
{
include_once($path_to_root . "/reporting/includes/class.graphic.inc");
@@
-107,9
+100,8
@@
function print_balance_sheet()
$params = array( 0 => $comments,
1 => array('text' => _('Period'),'from' => $from, 'to' => $to));
}
$params = array( 0 => $comments,
1 => array('text' => _('Period'),'from' => $from, 'to' => $to));
}
- //display_error("Error!");
- $rep = new FrontReport(_('Balance Sheet'),
$filename
, user_pagesize());
+ $rep = new FrontReport(_('Balance Sheet'),
"BalanceSheet"
, user_pagesize());
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns);
$rep->Header();
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns);
$rep->Header();