Fix read_item view

This commit is contained in:
Paul Brinkmeier 2023-07-17 17:15:10 +02:00
parent 37179e65a1
commit 7c1e13e32e

View File

@ -125,8 +125,8 @@
<td><a href="/inventory/item/{{ other_item.item_id }}">{{ other_item.item_id }}</a></td> <td><a href="/inventory/item/{{ other_item.item_id }}">{{ other_item.item_id }}</a></td>
<td><code>{{ other_item.item_barcode }}</code></td> <td><code>{{ other_item.item_barcode }}</code></td>
<td>{{ other_item.name }}</td> <td>{{ other_item.name }}</td>
<td class="--align-right">{{ format_currency(item.unit_price) }}</td> <td class="--align-right">{{ format_currency(other_item.unit_price) }}</td>
<td>{{ format_date(item.bought) }}</td> <td>{{ format_date(other_item.bought) }}</td>
<td>{{ other_item.group_name }} ({{ other_item.item_group }})</td> <td>{{ other_item.group_name }} ({{ other_item.item_group }})</td>
<td class="--align-right">{{ other_item.sales_units }}</td> <td class="--align-right">{{ other_item.sales_units }}</td>
<td class="--align-right">{% if other_item.correction_delta > 0 %}+{% endif %}{{ other_item.correction_delta }}</td> <td class="--align-right">{% if other_item.correction_delta > 0 %}+{% endif %}{{ other_item.correction_delta }}</td>