added required price, see #6

This commit is contained in:
Jottyfan
2024-02-23 15:36:37 +01:00
parent 72952b9c7b
commit e20c24d006
7 changed files with 88 additions and 6 deletions

View File

@ -43,6 +43,10 @@
<th>Freizeitpreis</th>
<td th:text="${booker.price}" />
</tr>
<tr th:if="${booker.requiredPrice}">
<th>davon für <span th:text="${booker.name}"></span></th>
<td th:text="${#numbers.formatDecimal(booker.requiredPrice, 1, 2) + ' €'}"></td>
</tr>
<tr>
<th>Kontostand</th>
<td><span th:text="${#numbers.formatDecimal(booker.paid, 1, 2) + ' €'}" th:if="${booker.paid != null}"></span></td>