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:
366a3ec
)
Fixed dashboard page in Setup tab. Mixing customers in the Supplier diagram.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 8 Jun 2017 06:34:47 +0000
(08:34 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Thu, 8 Jun 2017 06:34:47 +0000
(08:34 +0200)
includes/dashboard.inc
patch
|
blob
|
history
diff --git
a/includes/dashboard.inc
b/includes/dashboard.inc
index 21b1377f96acaabd785a4d239945824f3ea3b1b7..b9799751a80782b156313e860aabe2aa98c8a5d4 100644
(file)
--- a/
includes/dashboard.inc
+++ b/
includes/dashboard.inc
@@
-157,12
+157,15
@@
function display_all()
table_one();
$title = customer_top($today, 3, 66, $pg);
source_graphic($today, $title, _("Customer"), $pg, _("Sales"));
table_one();
$title = customer_top($today, 3, 66, $pg);
source_graphic($today, $title, _("Customer"), $pg, _("Sales"));
+ $pg = new graph();
$title = supplier_top($today, 3, 66, $pg);
source_graphic($today, $title, _("Supplier"), $pg, _("Purchases"));
$title = supplier_top($today, 3, 66, $pg);
source_graphic($today, $title, _("Supplier"), $pg, _("Purchases"));
+ $pg = new graph();
$title = stock_top($today, 3, 66, 0, $pg);
source_graphic($today, $title, _("Items"), $pg, _("Sales"), _("Costs"));
table_two();
dimension_top($today, 3, 66);
$title = stock_top($today, 3, 66, 0, $pg);
source_graphic($today, $title, _("Items"), $pg, _("Sales"), _("Costs"));
table_two();
dimension_top($today, 3, 66);
+ $pg = new graph();
$title = gl_top($today, 66, $pg);
source_graphic($today, $title, _("Class"), $pg, _("Amount"), null, 5);
stock_top($today, 3, 66, 2);
$title = gl_top($today, 66, $pg);
source_graphic($today, $title, _("Class"), $pg, _("Amount"), null, 5);
stock_top($today, 3, 66, 2);