{% extends "base.html" %} {% block content %}

Task Reports

Comprehensive overview and analysis of all engineering tasks

Total Tasks

{{ total_tasks }}

In Progress

{{ in_progress_tasks }}

Completed

{{ completed_tasks }}

Overdue

{{ overdue_tasks }}

Filters & Export
By Department
{% for dept, count in departments.items() %}
{{ dept }} {{ count }}
{% else %}

No data

{% endfor %}
By Assignee
{% for assignee, count in assignees.items() %}
{{ assignee }} {{ count }}
{% else %}

No data

{% endfor %}
By Status
{% set status_counts = {} %} {% for task in tasks %} {% set status = task.status %} {% if status_counts.update({status: status_counts.get(status, 0) + 1}) %}{% endif %} {% endfor %} {% for status, count in status_counts.items() %}
{% if status == 'New Request' %}📋{% elif status == 'Assigned' %}🔧{% elif status == 'Design' %}📐{% elif status == 'Material Planning' %}📦{% elif status == 'In Progress' %}⚙️{% elif status == 'QA/Review' %}✅{% elif status == 'Completed' %}🚀{% elif status == 'Blocked' %}🛑{% elif status == 'Cancelled' %}❌{% endif %} {{ status }} {{ count }}
{% else %}

No data

{% endfor %}
Task List ({{ total_tasks }}) {{ request.query_params.get('department', 'All') }}
{% for task in tasks %} {% else %} {% endfor %}
Title Type Department Status Priority Assigned To Due Date Progress
{{ task.title }}
#{{ task.id }}
{{ task.task_type or "General" }} {{ task.department or "Unassigned" }} {% if task.status == 'New Request' %}📋{% elif task.status == 'Assigned' %}🔧{% elif task.status == 'Design' %}📐{% elif task.status == 'Material Planning' %}📦{% elif task.status == 'In Progress' %}⚙️{% elif task.status == 'QA/Review' %}✅{% elif task.status == 'Completed' %}🚀{% elif task.status == 'Blocked' %}🛑{% endif %} {{ task.status }} {{ task.priority }} {{ task.assigned_to or "Unassigned" }} {% if task.due_date %} {{ task.due_date.strftime('%d %b %Y') }} {% if task.is_overdue %} {% endif %} {% else %} Not set {% endif %}
{{ task.completion_percentage|round(0) }}%
No tasks found matching the criteria
{% endblock %}