fixed import bugs and filter

This commit is contained in:
Luca Haid
2025-07-17 13:52:05 +02:00
parent fc422eb7ae
commit fc7bf317aa

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;
}