{% extends "tenant/layouts/base.html" %} {% block title %}Pay Periods{% endblock %} {% block content %}
| Staff | Period | Type | Base | Commission | Topup | Total | Status | |
|---|---|---|---|---|---|---|---|---|
| {{ 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 %} |