From 05463489f459761e93b8921b5627626ee3adf420 Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Tue, 25 Jul 2023 13:47:43 +0200 Subject: create docs from uc --- client/templates/client/approve_doc_pdf.html | 2 +- client/templates/client/doc_create.html | 8 +++++++- client/templates/client/index.html | 8 ++++---- 3 files changed, 12 insertions(+), 6 deletions(-) (limited to 'client/templates') diff --git a/client/templates/client/approve_doc_pdf.html b/client/templates/client/approve_doc_pdf.html index d2ba29b..0a62886 100644 --- a/client/templates/client/approve_doc_pdf.html +++ b/client/templates/client/approve_doc_pdf.html @@ -16,7 +16,7 @@

-

{{doc.user.first_name}} {{doc.user.last_name}} ({{doc.user.username}})

+

{{doc.usercode.first_name}} {{doc.usercode.last_name}}

{{doc.code}}

diff --git a/client/templates/client/doc_create.html b/client/templates/client/doc_create.html index c42fa05..a6efae8 100644 --- a/client/templates/client/doc_create.html +++ b/client/templates/client/doc_create.html @@ -13,10 +13,16 @@
-
+ {% csrf_token %} {% if not next %} +
+
+ {{uc.first_name}} {{uc.last_name}} +
{{uc.born_date}}
+
+
+
- +
@@ -162,7 +162,7 @@
- +
-- cgit v1.2.1