{% extends "tenant/layouts/base.html" %} {% block title %}Pay Periods{% endblock %} {% block content %}

Pay Periods

Calculate Period
{% if periods %}
{% for pp in periods %} {% endfor %}
StaffPeriodTypeBaseCommissionTopupTotalStatus
{{ pp.staff.name if pp.staff else pp.staff_id }} {{ pp.period_start.strftime('%b %d') }}–{{ pp.period_end.strftime('%b %d, %Y') }} {{ pp.pay_type.title() }} ${{ "%.2f"|format(pp.base_amount) }} ${{ "%.2f"|format(pp.commission_amount) }} {{ '$' ~ "%.2f"|format(pp.guarantee_topup) if pp.guarantee_topup > 0 else '—' }} ${{ "%.2f"|format(pp.total_amount) }} {{ pp.status }} {% if pp.status == 'draft' %}
{% elif pp.status == 'approved' %}
{% endif %}
{% else %}
No pay periods calculated yet. Use Calculate Period to get started.
{% endif %} {% endblock %}