From 7c1e13e32e7ce8dbdeaddfbb589c0fab7e5e79ba Mon Sep 17 00:00:00 2001 From: Paul Brinkmeier Date: Mon, 17 Jul 2023 17:15:10 +0200 Subject: [PATCH] Fix read_item view --- py/jon/templates/inventory/read_item.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/jon/templates/inventory/read_item.html b/py/jon/templates/inventory/read_item.html index 4143083..e2b7dd2 100644 --- a/py/jon/templates/inventory/read_item.html +++ b/py/jon/templates/inventory/read_item.html @@ -125,8 +125,8 @@ {{ other_item.item_id }} {{ other_item.item_barcode }} {{ other_item.name }} - {{ format_currency(item.unit_price) }} - {{ format_date(item.bought) }} + {{ format_currency(other_item.unit_price) }} + {{ format_date(other_item.bought) }} {{ other_item.group_name }} ({{ other_item.item_group }}) {{ other_item.sales_units }} {% if other_item.correction_delta > 0 %}+{% endif %}{{ other_item.correction_delta }}