{% extends 'wfbo/_layout.html.twig' %} {% block title %}Games Report — WFBO{% endblock %} {% block wfbo_title %}Games Report{% endblock %} {% block wfbo_content %} {# ── Period filter bar ── #} {% set presets = [ {key: 'today', label: 'Today'}, {key: 'yesterday', label: 'Yesterday'}, {key: 'this_month', label: 'This Month'}, {key: 'last_month', label: 'Last Month'}, {key: 'this_year', label: 'This Year'}, {key: 'last_year', label: 'Last Year'}, ] %}
{% for p in presets %} {{ p.label }} {% endfor %} {# Custom month picker #}
{# Custom year picker #}

{{ period.label }} · all games except Live Racing

{# ── Aggregate summary cards ── #}

Total Turnover

₱{{ totals.turnover|number_format(2) }}

Total amount players staked (all bets placed)

{{ totals.settledBets }} settled bet{{ totals.settledBets != 1 ? 's' : '' }}

Total Payout

₱{{ totals.payout|number_format(2) }}

Winnings paid back to players

= {{ totals.payoutRate|number_format(2) }}% of turnover

Total Commissions

₱{{ totals.commission|number_format(2) }}

Agent commission earned on these bets

house-agent commission reclassified as revenue

Net Revenue

₱{{ totals.netRevenue|number_format(2) }}

What the house kept: turnover − payout − commission

Hold {{ totals.hold|number_format(2) }}%

Settled Bets

{{ totals.settledBets }}

Bets that finished won or lost (pending / in-progress excluded)

{{ totals.wins }} won · {{ totals.losses }} lost · win rate {{ totals.winRate|number_format(2) }}%

Overall Payout Rate

{{ totals.payoutRate|number_format(2) }}%

Share of turnover returned to players (payout ÷ turnover)

Overall Hold %

{{ totals.hold|number_format(2) }}%

Share of turnover the house kept (net revenue ÷ turnover)

the higher, the better for the house

Active Players

{{ activePlayers }}

Distinct real players who bet in any of these games this period

excludes Live Racing, test accounts and staff

{# ── Per-game breakdown ── #}

Turnover = total staked · Payout = winnings paid · Net Revenue = turnover − payout − commission · Payout Rate = payout ÷ turnover · Hold % = net revenue ÷ turnover

{% for row in rows %} {% endfor %}
Game Settled Bets* Wins Losses Win Rate % Turnover ₱ Payout ₱ Commission ₱ Net Revenue ₱ Payout Rate % Hold %
{% if row.resultsRoute %} {{ row.label }} {% else %}{{ row.label }}{% endif %} {{ row.settledBets }} {{ row.wins }} {{ row.losses }} {{ row.winRate|number_format(2) }}% ₱{{ row.turnover|number_format(2) }} ₱{{ row.payout|number_format(2) }} ₱{{ row.commission|number_format(2) }} ₱{{ row.netRevenue|number_format(2) }} {{ row.payoutRate|number_format(2) }}% {{ row.hold|number_format(2) }}%
Total {{ totals.settledBets }} {{ totals.wins }} {{ totals.losses }} {{ totals.winRate|number_format(2) }}% ₱{{ totals.turnover|number_format(2) }} ₱{{ totals.payout|number_format(2) }} ₱{{ totals.commission|number_format(2) }} ₱{{ totals.netRevenue|number_format(2) }} {{ totals.payoutRate|number_format(2) }}% {{ totals.hold|number_format(2) }}%

* Settled bets exclude pending / still-active rounds. Figures reflect each game's settled activity within the selected period. House-agent commission is reclassified from commission to net revenue, matching the WFBO dashboard. Test accounts are excluded. Hold % = net revenue ÷ turnover. Live Racing is not included in this report.

{% endblock %}