diff --git a/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js b/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js index 7a56cd33a5ce76318de88595151ae16117b8fdb2..9f881847a2d9a55bd025ca9b44d47b176d6bac24 100644 --- a/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js +++ b/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js @@ -7,8 +7,6 @@ var ret; var turnoverPercentDiff = parseInt(vars.get("$field.TurnoverPercentDiff")); if(turnoverPercentDiff > 0) - ret = neon.PRIORITY_LOW_COLOR; + result.string(neon.PRIORITY_LOW_COLOR); else if (turnoverPercentDiff < 0) - ret = neon.PRIORITY_HIGH_COLOR; - -result.string(ret); \ No newline at end of file + result.string(neon.PRIORITY_HIGH_COLOR); \ No newline at end of file