diff --git a/Layout/default/Preorder/Index.php b/Layout/default/Preorder/Index.php
index 10367c511..aa3488ba6 100644
--- a/Layout/default/Preorder/Index.php
+++ b/Layout/default/Preorder/Index.php
@@ -1083,7 +1083,16 @@ $pagination_entity_name = "Vorbestellungen";
is(["preorderfront"]) && !$me->is("preorderreadonly")): ?>
-
+ adb_wohneinheit_id && $preorder->adb_wohneinheit && $preorder->adb_wohneinheit->contact) ? json_decode($preorder->adb_wohneinheit->contact, true) : [];
+ $contactCount = is_array($contacts) ? count($contacts) : 0;
+ ?>
+
+
+
+ =$contactCount?>
+
+
$preorder->id])?>">
isAdmin()): ?>
diff --git a/Layout/default/Preorder/export.csv.php b/Layout/default/Preorder/export.csv.php
index 0658bd761..e39f34bab 100644
--- a/Layout/default/Preorder/export.csv.php
+++ b/Layout/default/Preorder/export.csv.php
@@ -75,8 +75,8 @@ while($data = mysqli_fetch_object($res)):
if($data->attributes) {
$attribs = json_decode($data->attributes, true);
- if($attribs['bep_specified']) $bep = true;
- if($attribs['inhouse_cabling_supplied']) $inhouse = true;
+ if(isset($attribs['bep_specified']) && $attribs['bep_specified']) $bep = true;
+ if(isset($attribs['inhouse_cabling_supplied']) && $attribs['inhouse_cabling_supplied']) $inhouse = true;
}
$addon_property = 0;
diff --git a/Layout/default/Preordercampaign/Form.php b/Layout/default/Preordercampaign/Form.php
index 714d766de..2ad1f965c 100644
--- a/Layout/default/Preordercampaign/Form.php
+++ b/Layout/default/Preordercampaign/Form.php
@@ -1,4 +1,6 @@
+
+
@@ -73,7 +75,7 @@
+ value="= $campaign ? $campaign->homes_total : "" ?>"/>
@@ -81,7 +83,7 @@
"/>
+ value="= ($campaign && $campaign->from) ? date('d.m.Y', $campaign->from) : "" ?>"/>
@@ -89,7 +91,7 @@
"/>
+ value="= ($campaign && $campaign->to) ? date('d.m.Y', $campaign->to) : "" ?>"/>
@@ -100,30 +102,31 @@
+ types)) ? $campaign->types : []; ?>
@@ -134,16 +137,16 @@
@@ -155,13 +158,13 @@
@@ -171,6 +174,10 @@
+ salesclusters)) ? $campaign->salesclusters : []; ?>
+ all_fcp_names)) ? $campaign->all_fcp_names : []; ?>
+ banned_fcps)) ? $campaign->banned_fcps : []; ?>
+ required_fields)) ? $campaign->required_fields : []; ?>
@@ -182,7 +189,7 @@
name="adb_netzgebiet_ids[]" id="adb_netzgebiet_ids" multiple="multiple"
data-placeholder="Salescluster ...">
-
+
@@ -195,8 +202,8 @@
@@ -208,7 +215,7 @@
@@ -221,10 +228,10 @@
Ort:
@@ -238,10 +245,10 @@
@@ -253,10 +260,10 @@
pro Wohneinheit (API):
@@ -270,7 +277,7 @@
@@ -335,13 +342,15 @@
+ active_operators)) ? $campaign->active_operators : []; ?>
+ passive_operators)) ? $campaign->passive_operators : []; ?>
Netzbetreiber
Aktivnetzbetreiber
- active_operators as $aop): ?>
+
@@ -415,7 +424,7 @@
id="passive_operators" multiple="multiple"
data-placeholder="Netzbetreiber wählen ...">
["netowner", "salespartner"]]) as $operator): ?>
-
+
@@ -433,7 +442,7 @@
@@ -754,8 +764,8 @@
+
+
+
+
+
diff --git a/Layout/default/Workflow/items/color.php b/Layout/default/Workflow/items/color.php
index 094803bf5..619de4a03 100644
--- a/Layout/default/Workflow/items/color.php
+++ b/Layout/default/Workflow/items/color.php
@@ -11,7 +11,7 @@ if(preg_match('/^(.+)-1R$/', $color_name, $cmatch)) {
|