Skip to content
Snippets Groups Projects
Commit a08aeb48 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

fix missing param-processes for turnover chart

parent 8fd01a07
No related branches found
No related tags found
No related merge requests found
import("system.result");
result.string(false);
\ No newline at end of file
import("system.result");
result.string(true);
\ No newline at end of file
import("system.result");
result.string(true);
\ No newline at end of file
import("system.result");
result.string(true);
\ No newline at end of file
import("system.result");
result.string(true);
\ No newline at end of file
import("system.logging");
import("Sql_lib");
import("system.translate");
import("KeywordRegistry_basic");
......@@ -86,12 +87,13 @@ TurnoverUtil.getForecastData = function (pMaxYear, pYearCount, pSalesprojectId)
TurnoverUtil.getTurnoverAndForecastData = function (pMaxYear, pYearCount, pShowForecast, pShowTurnover, pSalesprojectId)
{
var data = [];
logging.log(pShowTurnover);
logging.log(pShowForecast);
if (pShowTurnover)
data = data.concat(TurnoverUtil.getTurnoverData(pMaxYear, pYearCount, pSalesprojectId));
if (pShowForecast)
data = data.concat(TurnoverUtil.getForecastData(pMaxYear, pYearCount, pSalesprojectId));
logging.log(data.toSource());
return data;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment