Page body
What this form does
This page creates bet-limit rules at /bet-limits/create.
Visible fields
Description (optional)Games CategoriesPriorityCurrency for PreviewAmount From EURAmount To EURInclude TagsExclude TagsApply only when player declined MWLActive
Important behavior
One create submit can fan out into multiple saved rules
The create form allows multiple Games Categories. When operators submit several categories, the backend creates one user_limits row per selected category.
If no category is selected, the rule is created as a global rule.
Currency for Preview is helper-only
The currency dropdown inside the preview panel does not change the saved rule. It only recalculates the preview amount range shown below the EUR fields.
The FE uses marketingRatio when it exists, otherwise exchangeRate.
Tag logic is asymmetric
Include Tags: player must have all selected tagsExclude Tags: player must not have any selected tag
Priority decides the winning rule
The helper text is literal: when multiple rules match the same player, the highest numeric priority wins.
Apply only when player declined MWL is a behavior gate
This switch is stored as mwlInactive. It narrows the rule to players whose Monthly Winning Limit is inactive or declined.
Save flow
Create posts to POST /api/admin/create-limit. The FE converts the selected category array into a comma-separated string before submit. CreateBetLimitService then creates one row per category or one global row when the category field is empty.
Verification status
- status:
verified_backend - FE create flow verified in
BetLimitForm - backend create route verified in
AdminController.createBetLimit->CreateBetLimitService