Showing rimo-deleted Homes in ADBWohneinheit/View

This commit is contained in:
Frank Schubert
2025-05-17 03:00:50 +02:00
parent 11de49b970
commit 17b9d1efb3

View File

@@ -159,6 +159,7 @@
<th>Status</th>
<th>Beschreibung</th>
<th>Extref</th>
<th></th>
<th title="Anzahl Bestellungen">Best.</th>
<th></th>
</tr>
@@ -191,6 +192,14 @@
</td>
<td><?=((string)$unit) ? "<strong>".(string)$unit."</strong>" : ""?></td>
<td><?=($unit->extref) ? "[".$unit->extref."]" : ""?></td>
<td>
<?php if($unit->rimo_deleted): ?>
<span class="fa-stack" style="width: 26px;" title="Home nicht (mehr) in Rimo vorhanden">
<i class="fas fa-stack-1x text-dark">R</i>
<i class="fas fa-slash fa-stack-1x fa-rotate-90 text-danger"></i>
</span>
<?php endif; ?>
</td>
<td title="Anzahl Bestellungen">
<?php if(is_array($unit->active_preorders) && count($unit->active_preorders)): ?>
<a href="<?=self::getUrl("Preorder", "", [ "filter" => ["adb_wohneinheit_id" => $unit->id]])?>" target="_blank"><?=count($unit->preorders)?></a>