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

Properties beim Gantt ViewTemplate wurden umbenannt.

Der RecordContainer setzt nun bei gruppierten Kampagnen auch Start und Enddatum
parent 5254aeab
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ import("system.db");
import("system.result");
import("system.vars");
import("Sql_lib");
import("Campaign_lib");
var stepCondition = JditoFilterUtils.getSqlCondition(vars.get("local.filter").filter, "CAMPAIGNSTEP");
......@@ -30,8 +31,10 @@ var stepsRows = db.table(stepCondition.buildSql(stepsQuery, "", "order by SORTIN
for (var campaignRowIndex in campaignsRows)
{
let campaignRow = campaignsRows[campaignRowIndex];
resultRay.push([campaignRow[UID], campaignRow[CAMPAIGNNAME], null, null, null, null, campaignRow[UID], TARGET_CONTEXT_ROOT_ELEMENT]);
let startDate = CampaignUtils.getCampaignStartDate(campaignRow[UID]);
let endDate = CampaignUtils.getCampaignEndDate(campaignRow[UID]);
resultRay.push([campaignRow[UID], campaignRow[CAMPAIGNNAME], null, null, startDate, endDate, campaignRow[UID], TARGET_CONTEXT_ROOT_ELEMENT]);
}
/*
......
......@@ -12,13 +12,13 @@
<children>
<ganttViewTemplate>
<name>AllCampaignsOverviewGantt</name>
<beginDateField>DATE_START</beginDateField>
<endDateField>DATE_END</endDateField>
<groupByRootElements v="true" />
<uidField>UID</uidField>
<titleField>NAME</titleField>
<descriptionField>STEP_DESCRIPTION</descriptionField>
<uidField>UID</uidField>
<stepPredecessorIdField>PREDECESSOR_STEP_ID</stepPredecessorIdField>
<displayRootElementsAsGroupHeaders v="true" />
<beginDateField>DATE_START</beginDateField>
<endDateField>DATE_END</endDateField>
<predecessorIdField>PREDECESSOR_STEP_ID</predecessorIdField>
<favoriteActionGroup2>NewGanttEntries</favoriteActionGroup2>
<entityField>#ENTITY</entityField>
<isEditable v="true" />
......
......@@ -12,13 +12,12 @@
<children>
<ganttViewTemplate>
<name>StepsGantt</name>
<beginDateField>DATE_START</beginDateField>
<endDateField>DATE_END</endDateField>
<uidField>CAMPAIGNSTEPID</uidField>
<titleField>NAME</titleField>
<descriptionField>DESCRIPTION</descriptionField>
<uidField>CAMPAIGNSTEPID</uidField>
<stepPredecessorIdField>PREDECESSORSTEP_ID</stepPredecessorIdField>
<displayRootElementsAsGroupHeaders v="false" />
<beginDateField>DATE_START</beginDateField>
<endDateField>DATE_END</endDateField>
<predecessorIdField>PREDECESSORSTEP_ID</predecessorIdField>
<entityField>#ENTITY</entityField>
<isCreatable v="true" />
<isEditable v="true" />
......
......@@ -10,11 +10,11 @@
<children>
<ganttViewTemplate>
<name>MilestoneGantt</name>
<uidField>SALESPROJECT_MILESTONEID</uidField>
<titleField>VALUE</titleField>
<beginDateField>DATE_START</beginDateField>
<endDateField>dateEndGantt</endDateField>
<titleField>valueLongName</titleField>
<uidField>SALESPROJECT_MILESTONEID</uidField>
<stepPredecessorIdField>PARENT_ID</stepPredecessorIdField>
<predecessorIdField>PARENT_ID</predecessorIdField>
<entityField>#ENTITY</entityField>
<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