Added scripts to update units and split preorders with connection_count

> 1
This commit is contained in:
Frank Schubert
2023-04-19 17:20:36 +02:00
parent df088b56eb
commit c5a9e3e9d7
7 changed files with 244 additions and 3 deletions

View File

@@ -581,6 +581,7 @@ class AddressDBController extends mfBaseController {
foreach($units as $unit) {
$u = [];
$u['id'] = $unit->id;
$u['extref'] = $unit->extref;
$u['zip'] = $unit->hausnummer->plz->plzstring;
$u['city'] = $unit->hausnummer->ortschaft->name;
$u['street'] = $unit->hausnummer->strasse->name;