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

Batch Detail

Batch: {{ batch.batch_key }}
FY: {{ batch.fy_label }} | Leave Type ID: {{ batch.leave_type_id }} | Strategy: {{ batch.strategy }}
Run At: {{ batch.run_at.strftime('%Y-%m-%d %H:%M') if batch.run_at }} | Status: {% if batch.is_revoked %}Revoked {% else %}Active{% endif %}
Entries: {{ count }} | Total Δ: {{ '%.2f'|format(total_delta) }}
Back Export CSV {% if not batch.is_revoked %}
{% endif %}
{% for row in entries %} {% set e = row.LeaveAllocationEntry %} {% endfor %} {% if not entries %} {% endif %}
# Emp Code Employee Leave Type FY Prev Δ New
{{ loop.index }} {{ row.employee_code }} {{ row.full_name }} {{ row.lt_name }} ({{ row.lt_code }}) {{ e.fy_label }} {{ e.previous_balance }} {{ e.credit_delta }} {{ e.new_balance }}
No entries in this batch.
{% endblock %}