projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added cancel edition hotkey
[fa-stable.git]
/
reporting
/
rep104.php
diff --git
a/reporting/rep104.php
b/reporting/rep104.php
index ecd2c9674524dc29c45312d3244f57694eb34b21..280f447a74cd39363df0faafb3aac089347d2b9f 100644
(file)
--- a/
reporting/rep104.php
+++ b/
reporting/rep104.php
@@
-28,7
+28,6
@@
include_once($path_to_root . "/inventory/includes/db/items_category_db.inc");
//----------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------
-// trial_inquiry_controls();
print_price_listing();
function fetch_items($category=0)
print_price_listing();
function fetch_items($category=0)
@@
-77,15
+76,9
@@
function print_price_listing()
$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 = "PriceListing.xml";
- }
else
else
- {
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
- $filename = "PriceListing.pdf";
- }
$dec = user_price_dec();
$dec = user_price_dec();
@@
-128,7
+121,7
@@
function print_price_listing()
else
$user_comp = "";
else
$user_comp = "";
- $rep = new FrontReport(_('Price Listing'), "PriceListing
.pdf
", user_pagesize());
+ $rep = new FrontReport(_('Price Listing'), "PriceListing", user_pagesize());
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns);
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns);