From 5beb43fba5144ca06e02e1736cbb2963991099d5 Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Tue, 19 Nov 2019 09:53:49 +0100
Subject: [PATCH] Turnover chart docu improvement and link

---
 entity/TurnoverTree_entity/documentation.adoc                 | 2 ++
 .../recordcontainers/jdito/contentProcess.js                  | 2 ++
 entity/Turnover_entity/documentation.adoc                     | 4 +---
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/entity/TurnoverTree_entity/documentation.adoc b/entity/TurnoverTree_entity/documentation.adoc
index 50bc8a67a5..b137bbb78e 100644
--- a/entity/TurnoverTree_entity/documentation.adoc
+++ b/entity/TurnoverTree_entity/documentation.adoc
@@ -1,3 +1,5 @@
 = TurnoverTree_entity
 
+For technical docu see the contentProcess of the jdito-record container of this entity
+
 This entity provides information to display the Turnover via tree.
\ No newline at end of file
diff --git a/entity/TurnoverTree_entity/recordcontainers/jdito/contentProcess.js b/entity/TurnoverTree_entity/recordcontainers/jdito/contentProcess.js
index 3493235775..61221d4e61 100644
--- a/entity/TurnoverTree_entity/recordcontainers/jdito/contentProcess.js
+++ b/entity/TurnoverTree_entity/recordcontainers/jdito/contentProcess.js
@@ -16,6 +16,8 @@ import("system.translate");
  *  - ... to sort the table so that all parents are added before the childs (as the treetable needs it in this order)
  *  - the sort function also sorts the data by year, month and productgroup name (using TreeUtils.treeOrderBy)
  *  - the _addCount is modified specially for THIS tree. 
+ *  - forecast and turnover are in one row, the chart needs extra rows for each
+ *  
  *    TODO: make more generic and use for both: the tree and the chart
  *    
  * See Turnover_entity content process for more documentation
diff --git a/entity/Turnover_entity/documentation.adoc b/entity/Turnover_entity/documentation.adoc
index b41881dbf9..c369458ae6 100644
--- a/entity/Turnover_entity/documentation.adoc
+++ b/entity/Turnover_entity/documentation.adoc
@@ -1,8 +1,6 @@
 = Turnover_entity
 
-For the inner working, see code documentation in Turnover_entity.jdito.contentProcess.js.
-
-This entity provides charts to display the Turnover.
+For technical docu see the contentProcess of the jdito-record container of this entityThis entity provides charts to display the Turnover.
 This chart can show any data in a cumulative way:
  * It loads the most specific data (e.g. Productgroups) and calculates the layers above (e.g. Productgroups -> Months -> years)
  * And then it shows the most top layer (years) at the top. If you click on it, it drills down to the more specific layer (Months / Productgroups)
\ No newline at end of file
-- 
GitLab