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

some display value fixes

parent ae324d37
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,8 @@
<entityField>
<name>VAT</name>
<title>Total VAT</title>
<contentType>NUMBER</contentType>
<outputFormat>#,##0.00</outputFormat>
<state>READONLY</state>
</entityField>
<entityField>
......@@ -151,6 +153,8 @@
<entityField>
<name>NET</name>
<title>Total net</title>
<contentType>NUMBER</contentType>
<outputFormat>#,##0.00</outputFormat>
<state>READONLY</state>
<valueProcess></valueProcess>
</entityField>
......@@ -158,6 +162,8 @@
<name>TotalGross</name>
<documentation>%aditoprj%/entity/Order_entity/entityfields/totalgross/documentation.adoc</documentation>
<title>Total gross</title>
<contentType>NUMBER</contentType>
<outputFormat>#,##0.00</outputFormat>
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/Order_entity/entityfields/totalgross/valueProcess.js</valueProcess>
</entityField>
......
......@@ -102,12 +102,11 @@
<entityField>
<name>VOLUME</name>
<title>Volume</title>
<description>The displayValue from the recoord container adds T € (translated)</description>
<description></description>
<contentType>NUMBER</contentType>
<outputFormat>0</outputFormat>
<inputFormat>0</inputFormat>
<outputFormat>#0</outputFormat>
<inputFormat>#0</inputFormat>
<searchable v="true" />
<titleProcess>%aditoprj%/entity/Salesproject_entity/entityfields/volume/titleProcess.js</titleProcess>
<displayValueProcess>%aditoprj%/entity/Salesproject_entity/entityfields/volume/displayValueProcess.js</displayValueProcess>
</entityField>
<entityConsumer>
......
import("system.result");
import("system.vars");
import("system.translate");
import("system.result");
result.string(translate.text("Volume") + " (" + translate.text("${EURO_SIGN}") + ")");
\ No newline at end of file
result.string(parseInt(vars.get("$field.VOLUME")) + " " + 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