ADB Statusflag done & Preorder statusflag import

This commit is contained in:
Frank Schubert
2024-08-20 12:51:54 +02:00
parent 03a53bbbd2
commit fcbbb82abc
10 changed files with 232 additions and 11 deletions

View File

@@ -222,7 +222,24 @@
</tr><tr>
<th>Status</th>
<td id="preorder-detail-building-status-<?=$preorder->id?>" class="text-monospace"><?=$preorder->adb_hausnummer->status->code?> - <?=$preorder->adb_hausnummer->status->name?></td>
</tr><tr>
<th>Statusflags</th>
<td>
<table class="table table-sm table-bordered table-striped bg-white">
<tr>
<th></th>
<th>Code</th>
<th>Text</th>
</tr>
<?php foreach($preorder->adb_hausnummer->statusflags as $flag): ?>
<tr>
<td class="text-center"><?=($flag->value->value) ? "<i class='fas fa-check text-success'></i>" : ""?></td>
<td><?=$flag->code?></td>
<td><?=$flag->name?></td>
</tr>
<?php endforeach; ?>
</table>
</td>
</tr><tr>
<th>Extref</th>
<td class="text-monospace"><?=$preorder->adb_hausnummer->extref?></td>