{% extends 'wfbo/_layout.html.twig' %} {% block wfbo_title %}Live Racing Settings{% endblock %} {% block wfbo_content %} {% for flash in app.flashes('success') %} {% endfor %} {% for flash in app.flashes('error') %} {% endfor %} {{ form_start(liveRacingSettingsForm, {attr: {'data-testid': 'live-racing-settings-form', 'novalidate': 'novalidate', 'data-turbo': 'false'}}) }} {# ── Game Toggle ── #}

Game Visibility

Enable or disable Live Racing on the site. When disabled, the game card is hidden from the home page and the route redirects to home.

{{ form_widget(liveRacingSettingsForm.liveRacingEnabled) }} {{ form_label(liveRacingSettingsForm.liveRacingEnabled, null, {label_attr: {class: 'form-check-label'}}) }} {{ form_errors(liveRacingSettingsForm.liveRacingEnabled) }}
{# ── Commission ── #}

Master Agent Commission

Live Racing's own site-wide commission rate on losing bets, separate from the shared Master Agent Commission Rate other games use. A master agent's personal commission override (set on the Master Agents page) still takes precedence over this when one is set.

{{ form_label(liveRacingSettingsForm.liveRacingAgentCommissionRate, null, {label_attr: {class: 'form-label--sm'}}) }}
{{ form_widget(liveRacingSettingsForm.liveRacingAgentCommissionRate, {attr: {class: 'border-end-0'}}) }} %
{{ form_errors(liveRacingSettingsForm.liveRacingAgentCommissionRate) }}

Enter a value between 0.00 and 100.00

{{ form_end(liveRacingSettingsForm) }} {# ── Payout Bonus / Max Payout Cap ── #}

Payout Bonus & Max Payout Cap

Optional per-bet-type overrides applied at settlement: a bonus % is added on top of the base payout (multiplier × dividend), then the result is capped at the max payout if set. Leave either field blank for no override.

{% for betType in liveRacingBetTypes %} {% endfor %}
Bet Type Bonus % Max Payout (₱)
{{ betType.label }}
{% endblock %}