Merge branch 'ConstructionConsent/fix-bugs2' into 'master'

Construction consent/fix bugs2

See merge request fronk/thetool!1558
This commit is contained in:
Luca Haid
2025-07-17 12:02:19 +00:00

View File

@@ -295,7 +295,7 @@ $pagination_entity_name = "Adressen";
<h5>Zusammenfassung Status (von <?=count($item->owners)?>)</h5>
<table class="table table-sm">
<?php foreach($item->owner_status_counts as $type => $count): ?>
<tr class="ConstructionConsentOwnerResult-<?=$type?>">
<tr class="ConstructionConsentOwnerResult-s<?=$type?>">
<th><?=__($type, "consent")?></th>
<td><?=$count?></td>
</tr>
@@ -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 {