ConstructionConsent: Only showing Ortschaft when available

This commit is contained in:
Frank Schubert
2025-01-30 16:47:37 +01:00
parent f8a3d0400f
commit 46d70f427a

View File

@@ -71,7 +71,7 @@ $pagination_entity_name = "Adressen";
<tr>
<th>Straße</th>
<td>
<?=$item->adb_strasse->ortschaft->name?>, <?=$item->adb_strasse->name?><br />
<?=($item->adb_strasse->ortschaft_id) ? $item->adb_strasse->ortschaft->name.", " : ""?><?=$item->adb_strasse->name?><br />
<?=$item->adb_strasse->gemeinde->name?>
</td>
</tr>