diff --git a/ereuse_devicehub/templates/inventory/device_list.html b/ereuse_devicehub/templates/inventory/device_list.html
index dcca4870..589ec2ae 100644
--- a/ereuse_devicehub/templates/inventory/device_list.html
+++ b/ereuse_devicehub/templates/inventory/device_list.html
@@ -41,9 +41,9 @@
- {% if lot.transfer.code and lot.transfer.user_to.phantom %}
+ {% if lot.transfer.code and not lot.transfer.user_to.phantom %}
{{ lot.transfer.code }} -> {{ lot.transfer.user_to.email }}
- {% elif lot.transfer.code and lot.transfer.user_from.phantom %}
+ {% elif lot.transfer.code and not lot.transfer.user_from.phantom %}
{{ lot.transfer.user_from.email }} -> {{ lot.transfer.code }}
{% endif %}