Fix some report stuff

This commit is contained in:
Paul Brinkmeier 2023-08-18 11:29:04 +02:00
parent 1a34486a84
commit 5551b6438a

@ -10,7 +10,7 @@
<th>Gesamt</th>
<th>Raum</th>
<th>Verbrauch [1/d]</th>
<th>ETUE [d]</th>
<th title="Estimated Time Until Empty">ETUE [d]</th>
<th>Für 2m</th>
</tr>
{% for item in items %}
@ -18,8 +18,8 @@
<td><a href="/inventory/item/{{ item.item_id }}">{{ item.item_id }}</a></td>
<td><code>{{ item.item_barcode }}</code></td>
<td>{{ item.name }}</td>
<td class="--align-right">{{ item.units_left + item.correction_delta }}</td>
<td class="--align-right">{{ item.sales_units }}</td>
<td class="--align-right">{{ item.units_left }}</td>
<td class="--align-right">{{ item.sales_units + item.correction_delta }}</td>
<td>{{ item.location_name }}</td>
<td class="--align-right">{{ item.per_day|round(2) }}</td>
<td class="--align-right">{% if item.days_left != None %}{{ item.days_left|round(1) }}{% endif %}</td>