{% extends 'wfbo/_layout.html.twig' %} {% block title %}2D Draws — WFBO{% endblock %} {% block wfbo_title %}2D Draws{% endblock %} {% block wfbo_content %} {% if needingAction is not empty %}
{{ needingAction|length }} draw{{ needingAction|length == 1 ? '' : 's' }} still waiting — the draw time has passed but bets are not settled yet: {% for e in needingAction %} {{ e.drawDate|date('M d') }}{{ e.resulted ? ' (press Settle)' : ' (declare the result)' }}{{ not loop.last ? ',' }} {% endfor %}
{% endif %}

One 2D draw per day, created automatically. Money totals leave out test accounts, like the dashboard. Open a draw to declare its result after betting closes, then settle it.

{% for event in events %} {% set t = totals[event.id] ?? {bets: 0, stake: 0, payout: 0, commission: 0} %} {% set net = t.stake - t.payout - t.commission %} {% else %} {% endfor %}
Draw Cutoff Status Result Bets Stake Payout Commission Net
{{ event.drawAt|date('D, M d, Y · g:i A') }} {{ event.cutoffAt|date('g:i A') }} {% include 'wfbo/live-draw/_status.html.twig' with {event: event, now: now} only %} {{ event.hasResult ? '%02d-%02d'|format(event.result1, event.result2) : '—' }} {{ t.bets }} ₱{{ t.stake|number_format(2) }} ₱{{ t.payout|number_format(2) }} ₱{{ t.commission|number_format(2) }} ₱{{ net|number_format(2) }} Open
No draws yet.
{% include 'wfbo/live-draw/_pager.html.twig' with {route: 'app_wfbo_live_draw_2d_draws', params: {}, page: currentPage, maxPage: totalPages} only %} {% endblock %}