Update report
Report now has a 'total' column next to the 'inventory' column. Also, for items that are not empty yet we use the current time instead of the most recent sale to estimate time until empty.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<th>Barcode</th>
|
||||
<th>Name</th>
|
||||
<th>Inventar</th>
|
||||
<th>Gesamt</th>
|
||||
<th>Raum</th>
|
||||
<th>Verbrauch [1/d]</th>
|
||||
<th>ETUE [d]</th>
|
||||
@@ -17,7 +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 }}</td>
|
||||
<td class="--align-right">{{ item.units_left + item.correction_delta }}</td>
|
||||
<td class="--align-right">{{ item.sales_units }}</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>
|
||||
|
||||
Reference in New Issue
Block a user