Commissions — {{ agent.firstName }} {{ agent.lastName }}

Mobile: {{ agent.mobileNumber }}  |  Period: {{ from|date('F j, Y') }} – {{ to|date('F j, Y') }}  |  Generated: {{ generatedAt|date('F j, Y g:i A') }}
{% if clamped %}

Range shortened to the last 92 days ({{ from|date('M j, Y') }} onward) to keep the report readable. Run it again for an earlier window if needed.

{% endif %}
Grand total — {{ entryCount }} commission entr{{ entryCount == 1 ? 'y' : 'ies' }} from {{ byPlayer|length }} player{{ byPlayer|length != 1 ? 's' : '' }} ₱{{ total|number_format(2) }}
By day
{% if daily is empty %}

No commissions between {{ from|date('F j, Y') }} and {{ to|date('F j, Y') }}.

{% else %} {% for d in daily %} {% endfor %}
Date Entries Players Commission (₱)
{{ d.day|date('D, M j, Y') }} {{ d.entries }} {{ d.players }} {{ d.amount|number_format(2) }}
{% endif %} {% if byPlayer is not empty %}
By player ({{ byPlayer|length }})
{% for p in byPlayer %} {% endfor %}
Player Mobile Entries Commission (₱)
{{ p.player }} {{ p.mobile }} {{ p.entries }} {{ p.amount|number_format(2) }}
{% endif %}