X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep105.php;h=bc367e6aaa08019ba5be4c27ee42cd9484dbeff5;hb=5dec41f0d87e407e1c9ffcb8eb63b92e4e471a9b;hp=d19c438c81e6962d0d47121dabdfa2cfe4eae873;hpb=f50187b9c3095886d7fd847f635cd8763109a75e;p=fa-stable.git diff --git a/reporting/rep105.php b/reporting/rep105.php index d19c438c..bc367e6a 100644 --- 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) - { include_once($path_to_root . "/reporting/includes/excel_report.inc"); - $filename = "OrderStatusListing.xml"; - } else - { include_once($path_to_root . "/reporting/includes/pdf_report.inc"); - $filename = "OrderStatusListing.pdf"; - } if ($category == reserved_words::get_all_numeric()) $category = 0; @@ -125,7 +119,7 @@ function print_order_status_list() $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);