{% load i18n %} {# -------------------------------------------------------------------------- #} {# STATS CARDS SECTION (9 KPIs) #} {# -------------------------------------------------------------------------- #}
{# GLOBAL - 1. Total Jobs (System) #}

{% trans "Total Jobs" %}

{{ total_jobs_global }}
{% trans "All Active & Drafted Positions" %}
{# SCOPED - 2. Total Active Jobs #}

{% trans "Active Jobs" %}

{{ total_active_jobs }}
{% trans "Currently Open Requisitions" %}
{# SCOPED - 3. Total Candidates #}

{% trans "Total Applications" %}

{{ total_applications }}
{% trans "Total applications" %}
{# SCOPED - 4. Open Positions #}

{% trans "Open Positions" %}

{{ total_open_positions }}
{% trans "Total Slots to be Filled" %}
{# SCOPED - 5. Avg Apps per Job #}

{% trans "Avg. Apps per Job" %}

{{ average_applications|floatformat:1 }}
{% trans "Average Applications per Job" %}
{# --- Efficiency & Quality Metrics --- #} {# 6. Time-to-Hire #}

{% trans "Time-to-Hire" %}

{{ avg_time_to_hire_days }}
{% trans "Average Days" %}
{# 7. Avg Match Score #}

{% trans "Avg. Match Score" %}

{{ avg_match_score|floatformat:1 }}
{% trans "Average AI Score" %}
{# 8. High Potential #}

{% trans "High Potential" %}

{{ high_potential_count }}
{% trans "Score ≥ 75% Profiles" %} ({{ high_potential_ratio|floatformat:1 }}%)
{# 9. Pending Interviews #}

{% trans "Pending Interviews" %}

{{ pending_interviews|default:0 }}
{% trans "Scheduled interviews pending" %}