Employee Dashboard

Assigned Tasks

{{ stats.assigned_tasks }}
Total assigned to you

Pending Tasks

{{ stats.pending_tasks }}
Not started yet

In Progress

{{ stats.in_progress_tasks }}
Currently working on

Completed

{{ stats.completed_tasks }}
Successfully finished

My Assigned Tasks ({{ tasks.count }})

{% if tasks %}
{% for task in tasks %}
{{ task.title }}
{{ task.project.title }}
{{ task.get_status_display }} {{ task.get_priority_display }}

{{ task.description|truncatewords:30 }}

Assigned by: {{ task.assigned_by.get_full_name|default:"N/A" }}
Due: {{ task.due_date|date:"M d, Y"|default:"No deadline" }}
Created: {{ task.created_at|date:"M d, Y" }}
{% if task.status == 'pending' %}
{% csrf_token %}
{% elif task.status == 'in_progress' %}
{% csrf_token %}
{% elif task.status == 'completed' %} Completed on {{ task.completed_at|date:"M d, Y" }} {% endif %} View Details
{% endfor %}
{% else %}

No Tasks Assigned Yet

You will see tasks here when Project Managers assign them to you.

{% endif %}