WIP 2025-01-16 ConstructionConsent Rimo Plan

This commit is contained in:
Frank Schubert
2025-01-17 13:48:50 +01:00
parent e3f1fe07ad
commit 27cc45e23c
4 changed files with 368 additions and 8 deletions

View File

@@ -680,7 +680,7 @@ foreach ($clusters as $cluster_data) {
if($wo_home_external_id) {
$wo_home = \ADBWohneinheitModel::getFirst(["extref" => $wo_home_external_id]);
if($wo_home != $wo->adb_wohneinheit_id) {
$addressErrors[] = "Wohneinheit für Workorder ".$wo->name." hat sich geändert von ".$wo->adb_wohneinheit_id." auf ".$wo_home->extref." (aber wurde nicht im Tool übernommen)";
$addressErrors[] = "Wohneinheit für Workorder ".$wo->rimo_name." hat sich geändert von ".$wo->adb_wohneinheit_id." auf ".$wo_home->extref." (aber wurde nicht im Tool übernommen)";
}
} else {
$addressErrors[] = "Wohneinheit für Workorder ".$wo->name." ist jetzt leer";