projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed link bugs in sales order entry and optimized a couple of functions in ui_contro...
[fa-stable.git]
/
reporting
/
rep105.php
diff --git
a/reporting/rep105.php
b/reporting/rep105.php
index d19c438c81e6962d0d47121dabdfa2cfe4eae873..bc367e6aaa08019ba5be4c27ee42cd9484dbeff5 100644
(file)
--- a/
reporting/rep105.php
+++ b/
reporting/rep105.php
@@
-79,15
+79,9
@@
function print_order_status_list()
$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 = "OrderStatusListing.xml";
- }
else
else
- {
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
- $filename = "OrderStatusListing.pdf";
- }
if ($category == reserved_words::get_all_numeric())
$category = 0;
if ($category == reserved_words::get_all_numeric())
$category = 0;
@@
-125,7
+119,7
@@
function print_order_status_list()
$cols2 = $cols;
$aligns2 = $aligns;
$cols2 = $cols;
$aligns2 = $aligns;
- $rep = new FrontReport(_('Order Status Listing'),
$filename
, user_pagesize());
+ $rep = new FrontReport(_('Order Status Listing'),
"OrderStatusListing"
, user_pagesize());
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns, $cols2, $headers2, $aligns2);
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns, $cols2, $headers2, $aligns2);