Skip to content

Commit

Permalink
PaulT: SalesGraph.php: Rework previous 7908 implementation that cause…
Browse files Browse the repository at this point in the history
…d graphing to break. (Reported broken in forums by Paul Becker: http://www.weberp.org/forum/showthread.php?tid=8071)
  • Loading branch information
TurboPT authored and timschofield committed Feb 26, 2018
1 parent 49c76eb commit 83ee834
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SalesGraph.php
Expand Up @@ -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');
Expand Down
1 change: 1 addition & 0 deletions doc/Change.log
@@ -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)
Expand Down

0 comments on commit 83ee834

Please sign in to comment.