From: <tu...@us...> - 2018-02-05 21:42:12
|
Revision: 7938 http://sourceforge.net/p/web-erp/reponame/7938 Author: turbopt Date: 2018-02-05 21:42:09 +0000 (Mon, 05 Feb 2018) Log Message: ----------- PaulT: SalesGraph.php: Rework previous 7908 implementation that caused graphing to break. (Reported broken in forums by Paul Becker: http://www.weberp.org/forum/showthread.php?tid=8071) Modified Paths: -------------- trunk/SalesGraph.php trunk/doc/Change.log Modified: trunk/SalesGraph.php =================================================================== --- trunk/SalesGraph.php 2018-02-05 03:09:39 UTC (rev 7937) +++ trunk/SalesGraph.php 2018-02-05 21:42:09 UTC (rev 7938) @@ -225,12 +225,12 @@ $result = DB_query($SQL); $fromPeriod = DB_fetch_array($result); - $_POST['FromPeriod'] = $fromPeriod['month'] . ' ' . $fromPeriod['year']; + $starting = $fromPeriod['month'] . ' ' . $fromPeriod['year']; $toPeriod = DB_fetch_array($result); - $_POST['ToPeriod'] = $toPeriod['month'] . ' ' . $toPeriod['year']; + $ending = $toPeriod['month'] . ' ' . $toPeriod['year']; - $GraphTitle .= ' ' . _('From Period') . ' ' . $_POST['FromPeriod'] . ' ' . _('to') . ' ' . $_POST['ToPeriod'] . "\n\r"; + $GraphTitle .= ' ' . _('From Period') . ' ' . $starting . ' ' . _('to') . ' ' . $ending . "\n\r"; if ($_POST['SalesArea']=='All'){ $GraphTitle .= ' ' . _('For All Sales Areas'); Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2018-02-05 03:09:39 UTC (rev 7937) +++ trunk/doc/Change.log 2018-02-05 21:42:09 UTC (rev 7938) @@ -1,5 +1,6 @@ webERP Change Log +2/5/18 PaulT: SalesGraph.php: Rework previous 7908 implementation that caused graphing to break. (Reported broken in forums by Paul Becker: http://www.weberp.org/forum/showthread.php?tid=8071) 2/4/18 PaulT: InternalStockRequestInquiry.php: Restore ONE space to previous 7936 commit. 2/4/18 PaulT: Remove unused $db and $conn parameters from DB_Last_Insert_ID() and (where present) from DB_show_tables(), and DB_show_fields(). Also, remove any unused 'global $db' references across the code base. 2/4/18 Paul Becker (PaulT commit): MRPPlannedPurchaseOrders.php: Add capability to review planned purchase orders and add a new link to convert to a new PO. (Reported in forums: http://www.weberp.org/forum/showthread.php?tid=8061) |