Remove legacy from inventory template

The comments are already addressed (or not needed). Also, UUIDs really
are long and do not add any benefit to the administrator.
This commit is contained in:
Simon Bruder 2023-12-05 12:17:22 +01:00
parent b6acc2cab3
commit ee7ab27a6d
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -7,20 +7,17 @@
<div layout:fragment="content">
<table class="table">
<thead>
<!-- TODO: i18n? -->
<tr>
<th>ID</th> <!-- FIXME UUIDs are long -->
<th>Produktname</th>
<th>Menge</th>
<th>Einkaufspreis</th>
<th>UVP</th>
<th>Gesamtwert</th>
<th></th> <!-- FIXME: this should be replaced by something more reasonable once CSS comes into play -->
<th></th>
</tr>
</thead>
<tbody>
<tr th:each="item : ${inventory}">
<td th:text="${item.id}"></td>
<td th:text="${item.product.name}"></td>
<td th:text="${item.quantity}"></td>
<td th:text="${item.product.wholesalePrice}"></td>