X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep106.php;h=aa3a83f7c49f8b4d5c8d8b1bb8d7145c2be87ceb;hb=5dec41f0d87e407e1c9ffcb8eb63b92e4e471a9b;hp=1b891f4535f85cc099dcfb67bf7fae5fb055a916;hpb=f50187b9c3095886d7fd847f635cd8763109a75e;p=fa-stable.git diff --git a/reporting/rep106.php b/reporting/rep106.php index 1b891f45..aa3a83f7 100644 --- a/reporting/rep106.php +++ b/reporting/rep106.php @@ -26,7 +26,6 @@ include_once($path_to_root . "/inventory/includes/db/items_category_db.inc"); //---------------------------------------------------------------------------------------------------- -// trial_inquiry_controls(); print_salesman_list(); //---------------------------------------------------------------------------------------------------- @@ -66,22 +65,16 @@ function 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); @@ -100,7 +93,7 @@ function print_salesman_list() $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);