From: <ex...@us...> - 2017-06-08 02:28:45
|
Revision: 7765 http://sourceforge.net/p/web-erp/reponame/7765 Author: exsonqu Date: 2017-06-08 02:28:42 +0000 (Thu, 08 Jun 2017) Log Message: ----------- 08/06/17 Exson: Fixed quotation and orders are mixed in searching result of SelectSalesOrder.php. Modified Paths: -------------- trunk/SelectSalesOrder.php Modified: trunk/SelectSalesOrder.php =================================================================== --- trunk/SelectSalesOrder.php 2017-06-01 01:21:09 UTC (rev 7764) +++ trunk/SelectSalesOrder.php 2017-06-08 02:28:42 UTC (rev 7765) @@ -2,12 +2,12 @@ /* $Id$*/ -include('includes/session.php'); +include('includes/session.inc'); $Title = _('Search Outstanding Sales Orders'); -/* webERP manual links before header.php */ +/* webERP manual links before header.inc */ $ViewTopic= "SalesOrders"; $BookMark = "SelectSalesOrder"; -include('includes/header.php'); +include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); if (isset($_POST['Reset'])) { unset($_POST); @@ -439,7 +439,7 @@ <b>' . _('The Order Number entered MUST be numeric') . '</b> <br />'; unset ($OrderNumber); - include('includes/footer.php'); + include('includes/footer.inc'); exit; } else { echo _('Order Number') . ' - ' . $OrderNumber; @@ -643,7 +643,7 @@ //figure out the SQL required from the inputs available if (isset($_POST['Quotations']) AND $_POST['Quotations']=='Orders_Only'){ $Quotations = 0; - } elseif(isset($_POST['Quotations']) AND $_POST['Quotations'] == 'Quotations_Only') { + } elseif(isset($_POST['Quotations']) AND $_POST['Quotations'] == 'Quotes_Only') { $Quotations =1; } elseif(isset($_POST['Quotations']) AND $_POST['Quotations'] == 'Overdue_Only') { $Quotations = "0 AND itemdue<'" . Date('Y-m-d') . "'"; @@ -1028,7 +1028,7 @@ } //end StockID already selected -include('includes/footer.php'); +include('includes/footer.inc'); function GetSearchItems ($SQLConstraint='') { global $db; if ($_POST['Keywords'] AND $_POST['StockCode']) { |