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

fixed import bugs and filter

See merge request fronk/thetool!1555
This commit is contained in:
Luca Haid
2025-07-17 11:52:13 +00:00

View File

@@ -247,6 +247,9 @@ class ConstructionConsent extends mfBaseModel {
}
foreach($owners as $owner) {
if($owner->result == "open" && $owner->status == "new") {
$owner->result = "new";
}
if(!array_key_exists($owner->result, $counts)) {
$counts[$owner->result] = 0;
}