rimo-import: new applying changed status flags from hasnummer to preorder

This commit is contained in:
Frank Schubert
2025-02-12 15:29:34 +01:00
parent 0dc103887e
commit b4bf3e304c
2 changed files with 44 additions and 0 deletions

View File

@@ -286,6 +286,11 @@ foreach ($clusters as $cluster_data) {
}
\mfValuecache::singleton()->set("adbhausnummer-save-nesting-level-".$hausnummer->id, 0);
// update Preorders
foreach(\PreorderModel::searchActive(["adb_hausnummer_id" => $hausnummer_id]) as $preorder) {
$preorder->syncStatusFlagsFromAdb();
}
}
if(is_object($building->buildingType) && property_exists($building->buildingType, "userLabel") && $building->buildingType->userLabel) {