ADB: Added stiege as part of Hausnummer

This commit is contained in:
Frank Schubert
2024-05-16 15:47:41 +02:00
parent 58ffea17a4
commit 29459e9cca
13 changed files with 111 additions and 36 deletions

View File

@@ -144,7 +144,18 @@
<?php endif; ?>
</div>
</div>
<div class="form-group row">
<label class="col-lg-2 col-form-label" for="hausnummer">Stiege</label>
<div class="col-lg-10">
<?php if(is_array($save_data) && array_key_exists("stiege", $save_data)): ?>
<input type="text" class="form-control" name="stiege" id="stiege" value="<?=$save_data['stiege']?>">
<?php else: ?>
<input type="text" class="form-control" name="stiege" id="stiege" value="<?=$address->stiege?>">
<?php endif; ?>
</div>
</div>
<div class="form-group row">
<label class="col-lg-2 col-form-label" for="plz">PLZ *</label>
<div class="col-lg-10">

View File

@@ -167,6 +167,7 @@
<th>Ortschaft</th>
<th>Straße</th>
<th>Hausnummer</th>
<th>Stiege</th>
<th>Wohneinheiten</th>
<th>GDA-Eigenschaft</th>
<th>Rollout Jahr</th>
@@ -184,6 +185,7 @@
<td><?=$address->ortschaft->name?></td>
<td><?=$address->strasse->name?></td>
<td><?=$address->hausnummer?></td>
<td><?=$address->stiege?></td>
<td><?=count($address->wohneinheiten)?></td>
<td><?=$address->gdaeigenschaft?></td>
<td><?=$address->rollout?></td>