From: <tu...@us...> - 2018-01-06 14:30:19
|
Revision: 7903 http://sourceforge.net/p/web-erp/reponame/7903 Author: turbopt Date: 2018-01-06 14:30:16 +0000 (Sat, 06 Jan 2018) Log Message: ----------- SelectSalesOrder.php: Fix handling to correct table heading value. (Reported in forums by Paul Becker) Modified Paths: -------------- trunk/SelectSalesOrder.php trunk/doc/Change.log Modified: trunk/SelectSalesOrder.php =================================================================== --- trunk/SelectSalesOrder.php 2018-01-06 10:18:42 UTC (rev 7902) +++ trunk/SelectSalesOrder.php 2018-01-06 14:30:16 UTC (rev 7903) @@ -647,11 +647,17 @@ } //figure out the SQL required from the inputs available - if( $_POST['Quotations'] == 'Quotes_Only' ) { + if( $_POST['Quotations'] == 'Orders_Only' ) { + $Quotations = 0; + } + elseif( $_POST['Quotations'] == 'Quotes_Only' ) { $Quotations = 1; - } elseif( $_POST['Quotations'] == 'Overdue_Only' ) { + } + elseif( $_POST['Quotations'] == 'Overdue_Only' ) { $Quotations = "0 AND itemdue<'" . Date('Y-m-d') . "'"; - } else { + } + else { + $_POST['Quotations'] = 'Orders_Only'; $Quotations = 0; } Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2018-01-06 10:18:42 UTC (rev 7902) +++ trunk/doc/Change.log 2018-01-06 14:30:16 UTC (rev 7903) @@ -1,6 +1,7 @@ webERP Change Log -6/1/18 Phil: Attempt to avoid XSS attacks by logged in users by parsing out "script>" from all $_POST and $_GET variables - subsequentely changed to strip_tags from all $_POST and $_GETs per Tim's recommendation +6/1/18 PaulT: SelectSalesOrder.php: Fix handling to correct table heading value. (Reported in forums by Paul Becker) +6/1/18 Phil: Attempt to avoid XSS attacks by logged in users by parsing out "script>" from all $_POST and $_GET variables - subsequentely changed to strip_tags from all $_POST and $_GETs per Tim's recommendation 3/1/18: PaulT: SelectSalesOrder.php: Fix search to retain quote option and set StockLocation to the UserStockLocation to auto-load current Sales Orders. 2/1/18: PaulT: SelectSalesOrder.php: Move handling for URL Quotations parameter to top of file to avoid potential page error(s). (Reported in forums by Paul Becker) Handling move reduces code within some conditional checks. This change also includes minor whitespace improvements and removes an unused global reference. 2/1/18: PaulT: css/default/default.css: Add text alignment in a couple of styles to match the same use in other CSS to avoid formatting issues when the default theme is used. Also, set several property names to lowercase. |