From 9e7fcb4e4da27cc0a55c492a1a6217617214c79a Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Thu, 24 Aug 2023 10:16:43 +0200 Subject: change approve direct page to show correct data --- server/templates/server/approve_doc_direct.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server') diff --git a/server/templates/server/approve_doc_direct.html b/server/templates/server/approve_doc_direct.html index 7327b2f..8e71a9b 100644 --- a/server/templates/server/approve_doc_direct.html +++ b/server/templates/server/approve_doc_direct.html @@ -18,7 +18,7 @@ {% if success %}
{{doc.document_type.name}}
-
{{doc.user.first_name}} {{doc.user.last_name}} ({{doc.user.username}})
+
{{doc.usercode.first_name}} {{doc.usercode.last_name}} ({{doc.usercode.branca}})
{{doc.code}}

@@ -48,7 +48,7 @@
{{doc.document_type.name}}
-
{{doc.user.first_name}} {{doc.user.last_name}} ({{doc.user.username}})
+
{{doc.usercode.first_name}} {{doc.usercode.last_name}} ({{doc.usercode.branca}})
{{doc.code}}
-- cgit v1.2.1