Skip to content
Snippets Groups Projects
Commit 96edfbc1 authored by David Büchler's avatar David Büchler
Browse files

Die Aktion zum Hinzufügen zu einer Kampagne am Kontakt nutzt nun den gleichen...

Die Aktion zum Hinzufügen zu einer Kampagne am Kontakt nutzt nun den gleichen View wie die Serienaktion. Somit findet auch hier nun die korrekte Prüfung statt.
Aktionen zum Bearbeiten und Einzel-Hinzufügen in der FilterView der CampaignParticipants wurde deaktiviert, da hier eine andere view genutzt wurde, welche keine Prüfung hatte. Zusätzlich ergibt es vom Ablauf her keinen Sinn an dieser Stelle einzelne Teilnehmer hinzuzufügen,
parent 80854486
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ if(selectedCampaignId != '')
if(countValidParticipantsToAdd <= 0)
{
messageString = "Alle selektierten Teilnehmer befinden sich bereits in der Stufe";
messageString = "Alle selektierten Teilnehmer befinden sich bereits in der Kampagne";
}
else if(hasStepEnoughSlots(countValidParticipantsToAdd))
{
......
import("system.vars");
import("Campaign_lib");
CampaignUtils.addParticipant(vars.getString("$field.CONTACTID"));
\ No newline at end of file
var contactIdRay = [vars.getString("$field.CONTACTID")];
CampaignUtils.addParticipantsByRowIds(JSON.stringify(contactIdRay), "ORGANISATION");
\ No newline at end of file
import("system.vars");
import("Campaign_lib");
CampaignUtils.addParticipant(vars.getString("$field.CONTACTID"));
\ No newline at end of file
var contactIdRay = [vars.getString("$field.CONTACTID")];
CampaignUtils.addParticipantsByRowIds(JSON.stringify(contactIdRay), "PERSON");
\ No newline at end of file
......@@ -15,6 +15,7 @@
<name>ParticipantsTable</name>
<favoriteActionGroup1>FilterViewActionGroup</favoriteActionGroup1>
<entityField>#ENTITY</entityField>
<isCreatable v="false" />
<isEditable v="false" />
<columns>
<neonTableColumn>
......
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