Qgis Preorder sync um Felder erweitert und in ADB verlinkt
This commit is contained in:
@@ -202,6 +202,21 @@ SQL;
|
||||
continue;
|
||||
}
|
||||
|
||||
$block = $po->adb_block ?? null;
|
||||
$stiege = $po->adb_stiege ?? null;
|
||||
$stock = $po->adb_stock ?? null;
|
||||
$tuer = $po->adb_tuer ?? null;
|
||||
|
||||
if (!empty($po->adb_wohneinheit_id)) {
|
||||
$wohneinheit = new ADBWohneinheit($po->adb_wohneinheit_id);
|
||||
if ($wohneinheit->id) {
|
||||
$block = $wohneinheit->block;
|
||||
$stiege = $wohneinheit->stiege;
|
||||
$stock = $wohneinheit->stock;
|
||||
$tuer = $wohneinheit->tuer;
|
||||
}
|
||||
}
|
||||
|
||||
$latVal = str_replace(',', '.', $gps_lat);
|
||||
$lonVal = str_replace(',', '.', $gps_long);
|
||||
|
||||
@@ -211,10 +226,10 @@ SQL;
|
||||
':type_label' => $po->type_label,
|
||||
':strasse' => $po->adb_strasse,
|
||||
':hausnummer' => $po->adb_hausnummer,
|
||||
':block' => $po->block,
|
||||
':stiege' => $po->stiege,
|
||||
':stock' => $po->stock,
|
||||
':tuer' => $po->tuer,
|
||||
':block' => $block,
|
||||
':stiege' => $stiege,
|
||||
':stock' => $stock,
|
||||
':tuer' => $tuer,
|
||||
':plz' => $po->adb_plz,
|
||||
':ort' => $po->adb_ort,
|
||||
':company' => $po->company,
|
||||
|
||||
Reference in New Issue
Block a user