{% extends "base.html" %} {% block title %}Department Twin{% endblock %} {% block page_title %}Department Twin{% endblock %} {% block content %}
Cost centers, headcount, and budget health
No departments found.
| Department | Headcount | Avg Salary | Total Payroll | Budget | Spent | Remaining | Utilization | Status |
|---|---|---|---|---|---|---|---|---|
|
{{ d.name }}
({{ d.code }})
|
{{ d.headcount }} | {{ d.avg_salary | format_currency }} | {{ d.total_payroll | format_currency }} | {{ d.budget | format_currency }} | {{ d.spent | format_currency }} | {{ d.remaining | format_currency }} |
|
{% if d.utilization > 100 %} Over Budget {% elif d.utilization > 90 %} Critical {% elif d.utilization > 70 %} High {% elif d.utilization > 40 %} Normal {% else %} Low {% endif %} |
No department data available.
{% endif %}