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

Salesproject / Offer fixes

parent 514de180
No related branches found
No related tags found
No related merge requests found
......@@ -78,6 +78,7 @@
<title>Status</title>
<consumer>KeywordOfferStates</consumer>
<state>EDITABLE</state>
<valueProcess>%aditoprj%/entity/Offer_entity/entityfields/status/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/status/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
......
import("system.neon");
import("system.vars");
import("system.result");
if (vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW && !vars.get("$this.value"))
result.string("25b0ac77-ef92-4809-802e-bb9d8782f865"); //Open
\ No newline at end of file
......@@ -13,6 +13,7 @@
<title>Person</title>
<consumer>Contacts</consumer>
<linkedContext>Person</linkedContext>
<mandatory v="true" />
</entityField>
<entityField>
<name>SALESPROJECT_ID</name>
......
......@@ -18,6 +18,7 @@
<title>Time</title>
<contentType>TEXT</contentType>
<mandatory v="true" />
<titleProcess>%aditoprj%/entity/Timetracking_entity/entityfields/minutes/titleProcess.js</titleProcess>
<displayValueProcess>%aditoprj%/entity/Timetracking_entity/entityfields/minutes/displayValueProcess.js</displayValueProcess>
<onValidation>%aditoprj%/entity/Timetracking_entity/entityfields/minutes/onValidation.js</onValidation>
</entityField>
......
import("system.translate");
import("system.result");
import("system.neon");
import("system.vars");
if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_EDIT || vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
{
result.string(translate.text("Time in minutes"));
}
\ No newline at end of file
......@@ -2574,6 +2574,12 @@
<entry>
<key>${QUANTITY_LOWER_THAN_1}</key>
</entry>
<entry>
<key>This combination of person and organisation does already exist and can not be created once more.</key>
</entry>
<entry>
<key>Time in minutes</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
<sqlModels>
......
......@@ -3319,6 +3319,10 @@
<key>VAT in %</key>
<value>UmsSt. in %</value>
</entry>
<entry>
<key>Time in minutes</key>
<value>Zeit in Minuten</value>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
</language>
......@@ -2599,6 +2599,12 @@
<key>${QUANTITY_LOWER_THAN_1}</key>
<value>Quantity should be greater than 0.</value>
</entry>
<entry>
<key>This combination of person and organisation does already exist and can not be created once more.</key>
</entry>
<entry>
<key>Time in minutes</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
</language>
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