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

Bonus Dashboard

Overview of policies, runs, and bonus amounts

Total Policies

{{ total_policies }}

Active Policies

{{ active_policies }}

Total Runs

{{ total_runs }}

Draft Runs

{{ draft_runs }}

Frozen Runs

{{ frozen_runs }}

Posted Runs

{{ posted_runs }}

Total Bonus of Latest Runs

₹ {{ '%.2f'|format(grand_total_bonus) }}

Latest Bonus Runs
{% for row in run_summaries %} {% else %} {% endfor %}
# Policy Type FY Payout Month Status Employees Total Amount Action
{{ loop.index }} {{ row.policy_name }} {{ row.bonus_type|title }} {{ row.run.fy_label }} {{ row.run.payout_month }} {% if row.run.status == 'draft' %} Draft {% elif row.run.status == 'frozen' %} Frozen {% elif row.run.status == 'posted' %} Posted {% else %} {{ row.run.status }} {% endif %} {{ row.employee_count }} ₹ {{ '%.2f'|format(row.total_amount) }} View
No bonus runs found.
{% endblock %}