From 992f160260ec09b246397b4777b212912c7b4229 Mon Sep 17 00:00:00 2001 From: Horilla Date: Sat, 15 Jun 2024 19:19:55 +0530 Subject: [PATCH] [UPDT] TEMPLATES: New page for employee work info complete table view --- templates/dashboard.html | 78 ++++++------------------- templates/work_info_complete.html | 97 +++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+), 60 deletions(-) create mode 100644 templates/work_info_complete.html diff --git a/templates/dashboard.html b/templates/dashboard.html index 71bae931f..96b21c99f 100755 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -838,56 +838,29 @@ hx-trigger="load"> +
- {% if request.user.employee_get.employee_user_id.is_superuser %} -
- -
- {% trans "Employee Work Information" %} -
- - - - -
- - - - - - - - - - {% for employee_info in employees_with_pending %} - - - - - {% endfor %} - -
{% trans "Employee" %}{% trans "Progress" %}
- - {{ employee_info.employee.employee_id }} - - -
-
-
-
{{ employee_info.completed_field_count }}% {% trans "Completed" %}
-
-
-
- +
+ {% trans "Employee Work Information" %}
- {% endif %} + + + + + {% if request.user.employee_get.employee_user_id.is_superuser or request.user|is_reportingmanager %} +
+
+ {% endif %}
+