From 9811af9f7805866605e8318cd8473ab9b891aef8 Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Thu, 17 Jul 2025 12:02:18 +0000 Subject: [PATCH] Construction consent/fix bugs2 --- Layout/default/ConstructionConsent/View.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Layout/default/ConstructionConsent/View.php b/Layout/default/ConstructionConsent/View.php index 28086a510..51787996c 100644 --- a/Layout/default/ConstructionConsent/View.php +++ b/Layout/default/ConstructionConsent/View.php @@ -295,7 +295,7 @@ $pagination_entity_name = "Adressen";
Zusammenfassung Status (von owners)?>)
owner_status_counts as $type => $count): ?> - + @@ -308,6 +308,8 @@ $pagination_entity_name = "Adressen"; $status_class = 'blue'; // Default to blue (all open) if (isset($item->owner_result_counts['denied']) && $item->owner_result_counts['denied'] > 0) { $status_class = 'red'; // Red if at least one denied + } elseif (isset($item->owner_result_counts['open']) && $item->owner_result_counts['open'] > 0) { + $status_class = 'blue'; // Blue if at least one open } elseif ( (isset($item->owner_result_counts['unresolvable']) && $item->owner_result_counts['unresolvable'] > 0) || (isset($item->owner_result_counts['moved']) && $item->owner_result_counts['moved'] > 0) || @@ -1349,8 +1351,7 @@ $pagination_entity_name = "Adressen"; } .ConstructionConsentOwnerResult-new { - /*red background color here for this tr*/ - background-color: #337ab7 + background-color: #9bcdff; } .ConstructionConsentOwnerResult-denied {