{% extends "base.html" %} {% block content %}
Policy: {{ policy.name }} | Type: {{ policy.bonus_type|title }} | FY: {{ run.fy_label }} | Payout Month: {{ run.payout_month }} | Status: {{ run.status|title }}
| # | Employee Name | DOJ | Worked Days | Tenure | Slab | Base Amount | Override Amount | Final Amount | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{ loop.index }} | {{ entry.employee_name }} | {% if entry.doj %} {{ entry.doj.strftime('%d-%m-%Y') }} {% endif %} | {{ entry.worked_days }} | {{ entry.tenure_years }} years | {{ entry.slab_label or '-' }} | ₹ {{ '%.2f'|format(entry.base_amount or 0) }} | ₹ {{ '%.2f'|format(entry.final_amount or 0) }} | {% if run.status == 'draft' %} {% else %} Locked {% endif %} | |
| No bonus entries found. Generate preview first. | |||||||||
| Total | ₹ {{ '%.2f'|format(entries|sum(attribute='final_amount')) }} | ||||||||