From 915d95379cdcd01dc085383328ca9eaefea1a338 Mon Sep 17 00:00:00 2001 From: sergio_gimenez Date: Mon, 4 Nov 2024 08:21:19 +0100 Subject: [PATCH] Render serial number in details view --- device/templates/details.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/templates/details.html b/device/templates/details.html index 8477948..331c857 100644 --- a/device/templates/details.html +++ b/device/templates/details.html @@ -84,7 +84,7 @@
{% trans 'Serial Number' %}
-
{{ object.last_evidence.doc.device.serialNumber|default:'' }}
+
{{ object.serial_number|default:'' }}
{% endif %}