From f8f1276313967d77c676c27f318c9f3e842fbced Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 1 Jun 2022 11:09:28 +0200 Subject: [PATCH] add description in transfer --- ereuse_devicehub/templates/inventory/device_list.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html index 1693608a..dcca4870 100644 --- a/ereuse_devicehub/templates/inventory/device_list.html +++ b/ereuse_devicehub/templates/inventory/device_list.html @@ -37,7 +37,16 @@
-

{{ lot.name }}

+
+

+ {{ lot.name }} +

+ {% if lot.transfer.code and lot.transfer.user_to.phantom %} + {{ lot.transfer.code }} -> {{ lot.transfer.user_to.email }} + {% elif lot.transfer.code and lot.transfer.user_from.phantom %} + {{ lot.transfer.user_from.email }} -> {{ lot.transfer.code }} + {% endif %} +
{% if lot.is_temporary or not lot.transfer.closed %}