Merge branch 'fronkdev' into 'master'

Added Maintenace date to MaintenanceNotification Index

See merge request fronk/thetool!724
This commit is contained in:
Frank Schubert
2024-11-12 17:46:23 +00:00

View File

@@ -76,6 +76,7 @@
<table class="table table-striped table-hover">
<tr>
<th>Betreff</th>
<th>Wartungszeitrum</th>
<th>PLZ-Bereich</th>
<th>Versandtermin</th>
<th>Aussendung abgeschlossen</th>
@@ -86,6 +87,12 @@
<?php foreach($notifications as $notification): ?>
<tr>
<td><?=$notification->subject->subject?></td>
<td class="text-monospace">
<?php if($notification->from && $notification->to): ?>
Von: <?=date("d.m.Y H:i", $notification->from)?><br />
Bis: <?=date("d.m.Y H:i", $notification->to)?>
<?php endif; ?>
</td>
<td><?=($notification->plz) ? implode(", ", $notification->plzs) : ""?></td>
<td><?=($notification->send_ts) ? date("d.m.Y H:i", $notification->send_ts) : ""?></td>
<td><?=($notification->sent) ? "Ja" : "nein"?></td>