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

[Projekt: Entwicklung - Neon][TicketNr.: 1062433][Serienbrief - Register...

[Projekt: Entwicklung - Neon][TicketNr.: 1062433][Serienbrief - Register Dokumente - es können keine Dokumente hinzugefügt werden]
parent 6ee2f364
No related branches found
No related tags found
No related merge requests found
......@@ -359,7 +359,7 @@
<entityParameter>
<name>DisallowCreate_param</name>
<valueProcess>%aditoprj%/entity/Document_entity/entityfields/singledocument/children/disallowcreate_param/valueProcess.js</valueProcess>
<expose v="false" />
<expose v="true" />
</entityParameter>
</children>
</entityProvider>
......
import("system.vars");
import("system.result");
result.string(!vars.get("$param.DisallowCreate_param"));
\ No newline at end of file
var disallow = vars.getString("$param.DisallowCreate_param");
var res = false;
if(disallow == "false")
res = true;
result.string(res);
\ No newline at end of file
......@@ -192,6 +192,10 @@
<name>AssignmentName_param</name>
<valueProcess>%aditoprj%/entity/SerialLetter_entity/entityfields/documents/children/assignmentname_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>DisallowCreate_param</name>
<valueProcess>%aditoprj%/entity/SerialLetter_entity/entityfields/documents/children/disallowcreate_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityActionField>
......
import("system.result");
result.string(false);
\ 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