Skip to content
Snippets Groups Projects
Commit 84abe120 authored by Martin Groppe's avatar Martin Groppe Committed by Sebastian Listl
Browse files

1079751 optimierung serienmail

parent 37285453
No related branches found
No related tags found
No related merge requests found
......@@ -352,6 +352,7 @@
</entityConsumer>
<entityConsumer>
<name>BulkMailTestRecipients</name>
<stateProcess>%aditoprj%/entity/BulkMail_entity/entityfields/bulkmailtestrecipients/stateProcess.js</stateProcess>
<dependency>
<name>dependency</name>
<entityName>BulkMailTestRecipient_entity</entityName>
......
import("system.vars");
import("Bulkmail_lib");
import("system.result");
import("system.neon");
if (BulkMailUtils.isStatusSendingOrSent(vars.get("$field.STATUS")))
result.string(neon.COMPONENTSTATE_READONLY);
\ No newline at end of file
......@@ -3,4 +3,4 @@ import("system.vars");
import("system.result");
if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && vars.get("$this.value") == null)
result.string("1");
\ No newline at end of file
result.string("0");
\ No newline at end of file
import("system.neon");
import("system.result");
import("system.vars");
import("KeywordRegistry_basic");
if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW)
if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW || vars.get("$field.LINKTYPE") == $KeywordRegistry.weblinkType$EMail())
result.string(neon.COMPONENTSTATE_EDITABLE)
else
result.string(neon.COMPONENTSTATE_READONLY)
\ No newline at end of file
......@@ -9,15 +9,20 @@
</masterSlaveLayout>
</layout>
<children>
<neonViewReference>
<name>3222ace8-c6d6-4dab-ada1-1f50b983e7e7</name>
<entityField>#ENTITY</entityField>
<view>BulkMailContent_view</view>
</neonViewReference>
<neonViewReference>
<name>8be4ed02-1c54-41d0-9bba-3b785346a550</name>
<entityField>Recipients</entityField>
<view>BulkMailRecipientFilter_view</view>
</neonViewReference>
<neonViewReference>
<name>3222ace8-c6d6-4dab-ada1-1f50b983e7e7</name>
<entityField>#ENTITY</entityField>
<view>BulkMailContent_view</view>
<name>f78d044a-6246-49c0-a72c-03f54fc90fd2</name>
<entityField>BulkMailTestRecipients</entityField>
<view>BulkMailTestRecipientFilter_view</view>
</neonViewReference>
<neonViewReference>
<name>9e1e1137-f0a8-45d5-8b91-6e36411be6f1</name>
......@@ -29,11 +34,6 @@
<entityField>MailLogs</entityField>
<view>MailLogFilter_view</view>
</neonViewReference>
<neonViewReference>
<name>f78d044a-6246-49c0-a72c-03f54fc90fd2</name>
<entityField>BulkMailTestRecipients</entityField>
<view>BulkMailTestRecipientFilter_view</view>
</neonViewReference>
<neonViewReference>
<name>bd3876a9-492e-4e2e-bcca-e86455475dca</name>
<entityField>Clicks</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