Fixed status history in preorder-detail

This commit is contained in:
Frank Schubert
2024-07-25 12:52:53 +02:00
parent 6084370efc
commit a3ca1db6c2
@@ -484,7 +484,7 @@
<th>Neuer Status</th> <th>Neuer Status</th>
</tr> </tr>
<?php foreach($preorder->history as $history): ?> <?php foreach($preorder->history as $history): ?>
<?php if($history->key != "preorderstatus_id") continue; ?> <?php if($history->key != "status_id") continue; ?>
<tr> <tr>
<td><?=date("d.m.Y H:i:s", $history->create)?></td> <td><?=date("d.m.Y H:i:s", $history->create)?></td>
<td><?=$history->creator->name?></td> <td><?=$history->creator->name?></td>