fixed import bugs and filter
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user