Skip to content
Snippets Groups Projects
Commit f0f409f8 authored by Andreas Schindlbeck's avatar Andreas Schindlbeck
Browse files

Vertriebsprojekt Numberformat

parent 33613215
No related branches found
No related tags found
No related merge requests found
......@@ -85,8 +85,9 @@
<name>VOLUME</name>
<title>Volume</title>
<description>The displayValue from the recoord container adds T € (translated)</description>
<displayValueProcess>%aditoprj%/entity/Salesproject_entity/entityfields/volume/displayValueProcess.js</displayValueProcess>
<onValidation>%aditoprj%/entity/Salesproject_entity/entityfields/volume/onValidation.js</onValidation>
<contentType>NUMBER</contentType>
<outputFormat>0</outputFormat>
<titleProcess>%aditoprj%/entity/Salesproject_entity/entityfields/volume/titleProcess.js</titleProcess>
</entityField>
<entityConsumer>
<name>Organisations</name>
......
import("system.vars");
import("system.translate");
import("system.result");
var volume = vars.get("$field.VOLUME");
result.string(parseInt(volume) + " " + translate.text("${THOUSAND_SHORT}") + " " + translate.text("${EURO_SIGN}"))
\ No newline at end of file
import("system.result");
import("system.translate");
result.string(translate.text("Volume") + " (" + translate.text("${THOUSAND_SHORT}") + " " + translate.text("${EURO_SIGN}") + ")");
\ 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