{% extends "base.html" %} {% block content %}
PM Planning Dashboard

Workload Dashboard

See who is busy, what is in process, what is overdue, and what can be assigned next.
Operations Dashboard
Users

{{ totals.users }}

Active

{{ totals.planning_active_total if totals.planning_active_total is defined else totals.active_total }}

Overdue

{{ totals.planning_overdue if totals.planning_overdue is defined else totals.overdue }}

Due Today

{{ totals.planning_due_today if totals.planning_due_today is defined else 0 }}

Due Soon

{{ totals.planning_due_soon if totals.planning_due_soon is defined else totals.due_soon }}

Available

{{ totals.planning_available if totals.planning_available is defined else 0 }}

Need-to-know
Active Workload Planner
Sales and Sales Manager excluded
{% set planner_rows = need_rows if need_rows is defined else rows %} {% if planner_rows %}
{% for row in planner_rows %}
{{ row.user.name }}
{{ row.user.email }} {% if row.user.profile and row.user.profile.department %} · {{ row.user.profile.department }} {% endif %}
{% if row.load_status == "Critical" %} Critical {% elif row.load_status == "Due Today" %} Due Today {% elif row.load_status == "Heavy" %} Heavy {% elif row.load_status == "Moderate" %} Moderate {% elif row.load_status == "Light" %} Light {% else %} Available {% endif %}
{{ row.active_total }}
Active
{{ row.overdue }}
Late
{{ row.due_today }}
Today
{{ row.assigned }}
Aligned
{{ row.in_progress }}
Process
{{ row.on_hold }}
Hold
Next deadlines
{% if row.next_items %} {% for item in row.next_items %}
{% if item.url %} {{ item.jobcard_no or 'Jobcard' }} {% else %} {{ item.jobcard_no or 'Jobcard' }} {% endif %} · {{ item.title }}
{{ item.source_type }} · {{ item.status }}
{% if item.description %}
Description: {{ item.description }}
{% endif %} {% if item.word_count %}
Word Count: {{ item.word_count }}
{% endif %}
{% if item.deadline_bucket == "overdue" %} {{ item.deadline_text }} {% elif item.deadline_bucket == "due_today" %} {{ item.deadline_text }} {% elif item.deadline_bucket in ["due_tomorrow", "due_soon"] %} {{ item.deadline_text }} {% else %} {{ item.deadline_text or 'No deadline' }} {% endif %}
{% endfor %} {% else %}
No active assignments. Good candidate for new work.
{% endif %}
{% endfor %}
{% else %}
No workload found.
{% endif %}
Detailed Counts
Workload Summary
Production, QC, internal process and PM jobcards
{% if rows %} {% for row in rows %} {% endfor %} {% else %} {% endif %}
User Active Overdue Due Soon Production QC Process PM Jobcards Completed Total
{{ row.user.name }}
{{ row.user.email }} {% if row.user.profile and row.user.profile.department %} · {{ row.user.profile.department }} {% endif %}
{{ row.total_workload }}
No workload found.
{% endblock %}