New Preorder cancelling

This commit is contained in:
Frank Schubert
2024-02-15 20:44:04 +01:00
parent 0d62e07d3e
commit dfa8d7ca1d
14 changed files with 138 additions and 44 deletions

View File

@@ -125,7 +125,7 @@
<th>Status</th>
<th>Beschreibung</th>
<th>Extref</th>
<th>Best.</th>
<th title="Anzahl Bestellungen">Best.</th>
</tr>
<?php foreach($address->wohneinheiten as $unit): ?>
<tr>
@@ -143,7 +143,7 @@
<td class="text-monospace"><?=$unit->status->code?> - <?=$unit->status->name?></td>
<td><?=((string)$unit) ? "<strong>".(string)$unit."</strong>" : ""?></td>
<td><?=($unit->extref) ? "[".$unit->extref."]" : ""?></td>
<td title="Anzahl Bestellungen"><?=PreorderModel::count(["adb_wohneinheit_id" => $unit->id, "deleted" => 0])?></td>
<td title="Anzahl Bestellungen"><?=PreorderModel::countActive(["adb_wohneinheit_id" => $unit->id])?></td>
</tr>
<?php endforeach; ?>
</table>