From 6b3d9fc7306fcdabdae1f39dade30e3f5d0c437d Mon Sep 17 00:00:00 2001 From: A R R R Associates Date: Sat, 8 Aug 2026 12:55:39 +0530 Subject: [PATCH] Add inline documents and messages to I1 checklist --- .../templates/documents/task_documents.html | 3 +- app/modules/documents/ui.py | 19 +++- app/modules/employees/service.py | 15 ++++ .../employees/work_engagement_board.html | 89 ++++++++++++++++++- .../employees/work_task_communication.html | 1 + app/modules/employees/ui.py | 19 +++- 6 files changed, 133 insertions(+), 13 deletions(-) diff --git a/app/modules/documents/templates/documents/task_documents.html b/app/modules/documents/templates/documents/task_documents.html index 04911a1..61c0be6 100644 --- a/app/modules/documents/templates/documents/task_documents.html +++ b/app/modules/documents/templates/documents/task_documents.html @@ -11,7 +11,7 @@

- Engagement + Back to Engagement Task Engagement Documents
@@ -51,6 +51,7 @@

Upload Task Document

+
+ + + + + + +
+ + +
+ Message / Clarification{% if task.i1_communications %} 路 {{ task.i1_communications|length }}{% endif %} +
+
+
+
Messages / Clarifications
+

Add a note, clarification or client/consultant communication.

+
+ Open full timeline +
+ + {% if task.i1_communications %} +
+ {% for item in task.i1_communications[:5] %} +
+
+ {{ item.comment_type.replace('_',' ').title() }} 路 {{ item.visibility.replace('_',' ').title() }} + {{ item.created_at_utc }} +
+
{{ item.message }}
+
By {{ item.created_by.full_name if item.created_by else 'System/User' }}
+
+ {% endfor %} +
+ {% else %} +
No message or clarification yet.
+ {% endif %} + +
+ + + + + +
+
+
+
+
Details
@@ -243,10 +327,7 @@
- +
Documents and messages can be added directly from this checklist row.
diff --git a/app/modules/employees/templates/employees/work_task_communication.html b/app/modules/employees/templates/employees/work_task_communication.html index 84d96ba..57ad46a 100644 --- a/app/modules/employees/templates/employees/work_task_communication.html +++ b/app/modules/employees/templates/employees/work_task_communication.html @@ -44,6 +44,7 @@

Add communication

+