projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab957b7
)
Rerun of last commit. A minor bug was detected.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 20 Dec 2015 15:40:59 +0000
(16:40 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 20 Dec 2015 15:40:59 +0000
(16:40 +0100)
includes/dashboard.inc
patch
|
blob
|
history
diff --git
a/includes/dashboard.inc
b/includes/dashboard.inc
index 4b552cfb33d0677649c01e2a12264fdfe4695c6d..b4b847d496f88e3cb71a143e7543eb7e9a4d7394 100644
(file)
--- a/
includes/dashboard.inc
+++ b/
includes/dashboard.inc
@@
-413,8
+413,8
@@
function gl_performance($today, $width="33", $weeks=5)
while ($myrow = db_fetch($result))
{
$pg->x[$i] = $myrow['week_name'];
- $pg->y[$i] =
abs($myrow['sales'])
;
- $pg->z[$i] =
abs($myrow['costs'])
;
+ $pg->y[$i] =
$myrow['sales']
;
+ $pg->z[$i] =
$myrow['costs']
;
$i++;
}
$pg->x = array_reverse($pg->x);