projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed supplier payment view link.
[fa-stable.git]
/
reporting
/
rep102.php
diff --git
a/reporting/rep102.php
b/reporting/rep102.php
index 797f9bc70a066f3b55d063e3d9243e3d84826802..dfe445705748471138d744b8ccb1648e151fa7c2 100644
(file)
--- a/
reporting/rep102.php
+++ b/
reporting/rep102.php
@@
-76,15
+76,9
@@
function print_aged_customer_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 = "AgedCustomerAnalysis.xml";
- }
else
else
- {
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
- $filename = "AgedCustomerAnalysis.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");
@@
-129,7
+123,7
@@
function print_aged_customer_analysis()
if ($convert)
$headers[2] = _('Currency');
if ($convert)
$headers[2] = _('Currency');
- $rep = new FrontReport(_('Aged Customer Analysis'),
$filename
, user_pagesize());
+ $rep = new FrontReport(_('Aged Customer Analysis'),
"AgedCustomerAnalysis"
, user_pagesize());
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns);
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns);