projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Focus js optimizations.
[fa-stable.git]
/
reporting
/
rep202.php
diff --git
a/reporting/rep202.php
b/reporting/rep202.php
index b193f5c7755fba5837d62b9bff6c3a5e90fa88c5..fbb803dbf08f5f468bb82cae7ed8829895144f32 100644
(file)
--- a/
reporting/rep202.php
+++ b/
reporting/rep202.php
@@
-25,7
+25,6
@@
include_once($path_to_root . "/gl/includes/gl_db.inc");
//----------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------
-// trial_inquiry_controls();
print_aged_supplier_analysis();
//----------------------------------------------------------------------------------------------------
print_aged_supplier_analysis();
//----------------------------------------------------------------------------------------------------
@@
-78,15
+77,9
@@
function print_aged_supplier_analysis()
$comments = $_POST['PARAM_5'];
$destination = $_POST['PARAM_6'];
if ($destination)
$comments = $_POST['PARAM_5'];
$destination = $_POST['PARAM_6'];
if ($destination)
- {
include_once($path_to_root . "/reporting/includes/excel_report.inc");
include_once($path_to_root . "/reporting/includes/excel_report.inc");
- $filename = "AgedSupplierAnalysis.xml";
- }
else
else
- {
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
- $filename = "AgedSupplierAnalysis.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");
@@
-131,7
+124,7
@@
function print_aged_supplier_analysis()
if ($convert)
$headers[2] = _('currency');
if ($convert)
$headers[2] = _('currency');
- $rep = new FrontReport(_('Aged Supplier Analysis'),
$filename
, user_pagesize());
+ $rep = new FrontReport(_('Aged Supplier Analysis'),
"AgedSupplierAnalysis"
, user_pagesize());
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns);
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns);