diff --git a/Layout/default/ConstructionConsent/View.php b/Layout/default/ConstructionConsent/View.php index a373b72a9..79906f5e1 100644 --- a/Layout/default/ConstructionConsent/View.php +++ b/Layout/default/ConstructionConsent/View.php @@ -229,11 +229,17 @@ $pagination_entity_name = "Adressen"; contacts as $type => $contacts): ?> - - + phone, 0, 2) != "43" && substr($contact->phone, 0, 2) != "49" && substr($contact->phone, 0, 1) != "0") { + $phone = "0".$contact->phone; + } else { + $phone = $contact->phone; + } + ?> + type, "consent")?> name?> - phone?> + fax?> email?> @@ -309,8 +315,14 @@ $pagination_entity_name = "Adressen"; Ergebnis - owners as $owner): ?> - "> + owners as $owner): + if (substr($owner->phone, 0, 2) != "43" && substr($owner->phone, 0, 2) != "49" && substr($owner->phone, 0, 1) != "0") { + $phone = "0".$owner->phone; + } else { + $phone = $owner->phone; + } + ?> + "> $owner->id])?>" title="Zustimmungserklärungsformular herunterladen"> @@ -322,7 +334,7 @@ $pagination_entity_name = "Adressen"; country?> - phone?>
+
fax?>
email?> @@ -459,6 +471,7 @@ $pagination_entity_name = "Adressen";