diff --git a/Layout/default/ConstructionConsent/View.php b/Layout/default/ConstructionConsent/View.php
index a03b9979c..4987ee55a 100644
--- a/Layout/default/ConstructionConsent/View.php
+++ b/Layout/default/ConstructionConsent/View.php
@@ -325,6 +325,7 @@ $pagination_entity_name = "Adressen";
+
diff --git a/application/ConstructionConsentOwner/ConstructionConsentOwnerController.php b/application/ConstructionConsentOwner/ConstructionConsentOwnerController.php
index 2cf6a53ac..08c08f7fb 100644
--- a/application/ConstructionConsentOwner/ConstructionConsentOwnerController.php
+++ b/application/ConstructionConsentOwner/ConstructionConsentOwnerController.php
@@ -187,7 +187,7 @@ class ConstructionConsentOwnerController extends mfBaseController
return false;
}
- if(!in_array($new_result, ['open', 'accepted', 'denied', 'unresolvable'])) {
+ if(!in_array($new_result, ['open', 'accepted', 'denied', 'unresolvable', 'moved'])) {
return false;
}
diff --git a/db/migrations/20250129123434_construction_consent_add_result_moved.php b/db/migrations/20250129123434_construction_consent_add_result_moved.php
new file mode 100644
index 000000000..58d3ecc61
--- /dev/null
+++ b/db/migrations/20250129123434_construction_consent_add_result_moved.php
@@ -0,0 +1,37 @@
+getEnvironment() == "thetool") {
+ $table = $this->table("ConstructionConsent");
+ $table->changeColumn("result", "enum", ["null" => true, "default" => null, "values" => "open,accepted,denied,unresolvable,moved"]);
+ $table->save();
+
+ $table = $this->table("ConstructionConsentOwner");
+ $table->changeColumn("result", "enum", ["null" => true, "default" => null, "values" => "open,accepted,denied,unresolvable,moved"]);
+ $table->save();
+
+
+ }
+
+ if($this->getEnvironment() == "addressdb") {
+
+ }
+ }
+
+ public function down(): void
+ {
+ if($this->getEnvironment() == "thetool") {
+
+ }
+
+ if($this->getEnvironment() == "addressdb") {
+
+ }
+ }
+}
diff --git a/lang/de.php b/lang/de.php
index b2f73d703..c2ffc8c2b 100644
--- a/lang/de.php
+++ b/lang/de.php
@@ -79,6 +79,7 @@ $l["consent.open"] = "Offen";
$l["consent.accepted"] = "Zugestimmt";
$l["consent.denied"] = "Abgelehnt";
$l["consent.unresolvable"] = "Uneinbringlich";
+$l["consent.moved"] = "Verzogen";
$l["consent.requested"] = "Angefragt";
$l["consent.answered"] = "Antwort erhalten";