Skip to content
Snippets Groups Projects
Commit 0973ab3c authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

[Projekt: xRM-Sales][TicketNr.: 1074034][Zahlenformate werden systemweit korrekt dargestellt]

parent 4d6b1b89
No related branches found
No related tags found
No related merge requests found
......@@ -88,13 +88,16 @@
<contentType>NUMBER</contentType>
<maxValue v="100" />
<minValue v="0" />
<outputFormat>0'%'</outputFormat>
<inputFormat>0'%'</inputFormat>
<outputFormat>0.00'%'</outputFormat>
<inputFormat>0.00</inputFormat>
<onValidation>%aditoprj%/entity/ClassificationScore_entity/entityfields/scorepercent/onValidation.js</onValidation>
</entityField>
<entityField>
<name>scoreInPoints</name>
<title>Points</title>
<contentType>NUMBER</contentType>
<outputFormat>#,##0.00</outputFormat>
<inputFormat>#,##0.00</inputFormat>
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/ClassificationScore_entity/entityfields/scoreinpoints/valueProcess.js</valueProcess>
</entityField>
......
......@@ -13,4 +13,4 @@ var maxPoints = newSelect("CLASSIFICATIONTYPE.SCOREPOINTS")
var points = percent/100*maxPoints;
if(!points)
points = 0;
result.string(points.toFixed(2));
\ No newline at end of file
result.string(points);
\ No newline at end of file
......@@ -151,6 +151,9 @@
<entityField>
<name>SCOREPOINTS</name>
<title>Points</title>
<contentType>NUMBER</contentType>
<outputFormat>#,##0.00</outputFormat>
<inputFormat>#,##0.00</inputFormat>
</entityField>
<entityField>
<name>DISPLAYVALUE</name>
......
......@@ -174,6 +174,7 @@
<documentation>%aditoprj%/entity/Offer_entity/entityfields/totalgross/documentation.adoc</documentation>
<title>Total gross</title>
<contentType>NUMBER</contentType>
<outputFormat>#,##0.00</outputFormat>
<inputFormat>#,##0.00</inputFormat>
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/Offer_entity/entityfields/totalgross/valueProcess.js</valueProcess>
......
......@@ -124,7 +124,8 @@
<title>Volume</title>
<description></description>
<contentType>NUMBER</contentType>
<inputFormat>#0</inputFormat>
<outputFormat>#,##0.00</outputFormat>
<inputFormat>#,##0.00</inputFormat>
<groupable v="true" />
<displayValueProcess>%aditoprj%/entity/Salesproject_entity/entityfields/volume/displayValueProcess.js</displayValueProcess>
</entityField>
......
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