X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep105.php;h=7a0222a7741f2c99a633edf757137426e707a461;hb=e8f8879003c1918b59e6da26be7f3927115ec21f;hp=1d3f66b3dbe9fa40f7af137fbc6d942a526ea221;hpb=5ac511e332a157799a38f2f7f00e99fabbf64b02;p=fa-stable.git diff --git a/reporting/rep105.php b/reporting/rep105.php index 1d3f66b3..7a0222a7 100644 --- a/reporting/rep105.php +++ b/reporting/rep105.php @@ -1,5 +1,14 @@ . +***********************************************************************/ $page_security = 2; // ---------------------------------------------------------------- // $ Revision: 2.0 $ @@ -7,13 +16,13 @@ $page_security = 2; // date_: 2005-05-19 // Title: Order Status List // ---------------------------------------------------------------- -$path_to_root="../"; +$path_to_root=".."; -include_once($path_to_root . "includes/session.inc"); -include_once($path_to_root . "includes/date_functions.inc"); -include_once($path_to_root . "includes/data_checks.inc"); -include_once($path_to_root . "sales/includes/sales_db.inc"); -include_once($path_to_root . "inventory/includes/db/items_category_db.inc"); +include_once($path_to_root . "/includes/session.inc"); +include_once($path_to_root . "/includes/date_functions.inc"); +include_once($path_to_root . "/includes/data_checks.inc"); +include_once($path_to_root . "/sales/includes/sales_db.inc"); +include_once($path_to_root . "/inventory/includes/db/items_category_db.inc"); //---------------------------------------------------------------------------------------------------- @@ -63,7 +72,7 @@ function print_order_status_list() { global $path_to_root; - include_once($path_to_root . "reporting/includes/pdf_report.inc"); + include_once($path_to_root . "/reporting/includes/pdf_report.inc"); $from = $_POST['PARAM_0']; $to = $_POST['PARAM_1']; @@ -72,8 +81,6 @@ function print_order_status_list() $backorder = $_POST['PARAM_4']; $comments = $_POST['PARAM_5']; - $dec = user_qty_dec(); - if ($category == reserved_words::get_all_numeric()) $category = 0; if ($location == reserved_words::get_all()) @@ -146,6 +153,7 @@ function print_order_status_list() } $rep->TextCol(0, 1, $myrow['stk_code']); $rep->TextCol(1, 2, $myrow['description']); + $dec = get_qty_dec($myrow['stk_code']); $rep->TextCol(2, 3, number_format2($myrow['quantity'], $dec)); $rep->TextCol(3, 4, number_format2($myrow['qty_sent'], $dec)); $rep->TextCol(4, 5, number_format2($myrow['quantity'] - $myrow['qty_sent'], $dec));