diff --git a/Layout/default/AddressDB/View.php b/Layout/default/AddressDB/View.php index e3490844c..33814c0ea 100644 --- a/Layout/default/AddressDB/View.php +++ b/Layout/default/AddressDB/View.php @@ -180,7 +180,16 @@ wohneinheiten as $unit): ?> - + contact ? json_decode($unit->contact, true) : []; + $contactCount = is_array($contacts) ? count($contacts) : 0; + ?> + + + + + + $unit->id])?>"> id?> 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; + ?> + + + + + + $preorder->id])?>"> isAdmin()): ?>