mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
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:
parent
b6acc2cab3
commit
ee7ab27a6d
|
@ -7,20 +7,17 @@
|
||||||
<div layout:fragment="content">
|
<div layout:fragment="content">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<!-- TODO: i18n? -->
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>ID</th> <!-- FIXME UUIDs are long -->
|
|
||||||
<th>Produktname</th>
|
<th>Produktname</th>
|
||||||
<th>Menge</th>
|
<th>Menge</th>
|
||||||
<th>Einkaufspreis</th>
|
<th>Einkaufspreis</th>
|
||||||
<th>UVP</th>
|
<th>UVP</th>
|
||||||
<th>Gesamtwert</th>
|
<th>Gesamtwert</th>
|
||||||
<th></th> <!-- FIXME: this should be replaced by something more reasonable once CSS comes into play -->
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr th:each="item : ${inventory}">
|
<tr th:each="item : ${inventory}">
|
||||||
<td th:text="${item.id}"></td>
|
|
||||||
<td th:text="${item.product.name}"></td>
|
<td th:text="${item.product.name}"></td>
|
||||||
<td th:text="${item.quantity}"></td>
|
<td th:text="${item.quantity}"></td>
|
||||||
<td th:text="${item.product.wholesalePrice}"></td>
|
<td th:text="${item.product.wholesalePrice}"></td>
|
||||||
|
|
Loading…
Reference in a new issue