//----------------------------------------------------------------------------------------------------
-// trial_inquiry_controls();
print_salesman_list();
//----------------------------------------------------------------------------------------------------
$comments = $_POST['PARAM_3'];
$destination = $_POST['PARAM_4'];
if ($destination)
- {
include_once($path_to_root . "/reporting/includes/excel_report.inc");
- $filename = "SalesmanListing.xml";
- }
else
- {
include_once($path_to_root . "/reporting/includes/pdf_report.inc");
- $filename = "SalesmanListing.pdf";
- }
if ($summary == 0)
$sum = _("No");
else
$sum = _("Yes");
- $dec = user_qty_dec();
+ $dec = user_price_dec();
$cols = array(0, 60, 150, 220, 325, 385, 450, 515);
$cols2 = $cols;
$aligns2 = $aligns;
- $rep = new FrontReport(_('Salesman Listing'), $filename, user_pagesize());
+ $rep = new FrontReport(_('Salesman Listing'), "SalesmanListing", user_pagesize());
$rep->Font();
$rep->Info($params, $cols, $headers, $aligns, $cols2, $headers2, $aligns2);