{% extends 'base.html' %} {% load format_tags %} {% block title %}Worker Batch Report | FoxFitt{% endblock %} {% block content %}

Worker Batch Report

{{ total_workers }} worker{{ total_workers|pluralize }} — lifetime aggregates

{% if rows %}
{% for r in rows %} {% endfor %}
Name ID Salary Active Days Projects Teams First Payslip Last Payslip Total Paid Certs Warnings
{{ r.worker.name }} {{ r.worker.id_number }} R {{ r.worker.monthly_salary|money }} {% if r.worker.active %} {% else %}{% endif %} {{ r.days_worked }} {% for p in r.projects %}{{ p }}{% endfor %} {% for t in r.teams %}{{ t }}{% endfor %} {{ r.first_payslip_date|date:"d M Y"|default:'—' }} {{ r.last_payslip_date|date:"d M Y"|default:'—' }} R {{ r.total_paid_lifetime|money }} {{ r.certs_active }}/{{ r.certs_total }} {% if r.certs_expiring %}
{{ r.certs_expiring }} expiring{% endif %} {% if r.certs_expired %}
{{ r.certs_expired }} expired{% endif %}
{% if r.warnings_count %}{{ r.warnings_count }} {% else %}{% endif %}
{% else %}

No workers match the filter. Clear filters.

{% endif %}
{% endblock %}