X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep104.php;h=280f447a74cd39363df0faafb3aac089347d2b9f;hb=c4eae7a18f0eb824e6eda7be2ba6fa820e9e58c9;hp=ecd2c9674524dc29c45312d3244f57694eb34b21;hpb=f50187b9c3095886d7fd847f635cd8763109a75e;p=fa-stable.git diff --git a/reporting/rep104.php b/reporting/rep104.php index ecd2c967..280f447a 100644 --- 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) @@ -77,15 +76,9 @@ function print_price_listing() $comments = $_POST['PARAM_5']; $destination = $_POST['PARAM_6']; if ($destination) - { include_once($path_to_root . "/reporting/includes/excel_report.inc"); - $filename = "PriceListing.xml"; - } else - { include_once($path_to_root . "/reporting/includes/pdf_report.inc"); - $filename = "PriceListing.pdf"; - } $dec = user_price_dec(); @@ -128,7 +121,7 @@ function print_price_listing() 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);