Übersicht: freie Anhänger ohne Folgebuchung zeigen 'Frei bis auf Weiteres'
This commit is contained in:
parent
a8dabcf326
commit
671d08c631
1 changed files with 2 additions and 1 deletions
|
|
@ -133,7 +133,8 @@ $isEmployeeView = $employeeScope > 0;
|
|||
<?php if (valid_date($freeUntil)): ?>
|
||||
<p class="trailer-card__free">Frei bis <strong><?= e(fmt_date($freeUntil)) ?></strong> – neue Buchung möglich.</p>
|
||||
<?php else: ?>
|
||||
<p class="trailer-card__free">Frei – neue Buchung möglich.</p>
|
||||
<?php // Ohne Folgebuchung gibt es kein Enddatum – trotzdem „bis“ nennen. ?>
|
||||
<p class="trailer-card__free">Frei bis auf Weiteres – neue Buchung möglich.</p>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue