ADB Statusflag done & Preorder statusflag import
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user