Operator guideENlimitsbettingdetail

Bet Limits / Detail

Saved bet-limit edit workspace for one rule, including locked category scope, targeting, and behavior flags.

Reader view

Clean portal guidance

This page keeps the operator explanation, field and action descriptions, and screenshots visible without exposing repo paths, raw sidecars, or editorial-only implementation details.

Narrative content

Page body

What this page does

This detail page edits one existing bet-limit rule at /bet-limits/[betLimitId].

What changes compared with create

Games Categories is locked in edit mode

The edit workspace shows a disabled category summary instead of the create multi-select. Operators can review the current category scope, but cannot re-fan-out or move the rule to a different category from this page.

The same targeting and behavior fields stay editable

Operators can still update:

  • description
  • priority
  • amount range
  • include/exclude tags
  • Apply only when player declined MWL
  • Active

Disabling the rule triggers backend cleanup logic

UpdateBetLimitService runs an extra SQL cleanup path when a rule is saved with isActive = false. The intent is to clear linked player assignments for the now-inactive rule.

Verification status

  • status: verified_backend
  • FE edit route verified in BetLimitForm edit mode
  • backend detail/update routes verified in AdminController.getBetLimitDetail and AdminController.updateBetLimit
Calculation notes

Calculations

calculation

Category lock in edit mode

Edit mode preserves saved category scope rather than reassigning the rule.

Inputs
game_categories
Transform
The shared form switches `Games Categories` from create multi-select into a disabled summary field when `isEdit` is true.
calculation

Currency preview conversion

The preview explains player-currency impact without changing stored EUR values.

Inputs
currency_preview, amount_from_eur, amount_to_eur
Transform
The FE multiplies EUR values by `marketingRatio` when present, otherwise by `exchangeRate`, and shows the result as helper-only preview text.
calculation

Tag matching rules

The two targeting lists serve different matching logic.

Inputs
include_tags, exclude_tags
Transform
`Include Tags` is an all-match condition, while `Exclude Tags` blocks the rule when any listed tag is present.
calculation

Inactive-rule cleanup path

Turning the rule off also triggers backend assignment-cleanup behavior.

Inputs
is_active
Transform
`UpdateBetLimitService` runs an extra cleanup query when the rule is saved inactive.
Field dictionary

Fields

field

Description (optional)

Internal note stored on the saved rule.

Group
context
Data Type
string
field

Games Categories

Saved category scope of the rule, shown as a disabled summary in edit mode.

Group
scope
Data Type
display-string
Caveats
The edit screen does not allow changing category membership.
field

Priority

Numeric precedence used when multiple saved rules match the same player.

Group
scope
Data Type
integer
field

Currency for Preview

Helper-only currency used to preview converted amounts while editing.

Group
helper
Data Type
enum
field

Amount From EUR

Lower bound of the saved EUR range.

Group
thresholds
Data Type
number
field

Amount To EUR

Upper bound of the saved EUR range.

Group
thresholds
Data Type
number
field

Converted Preview

FE-only conversion preview for the currently selected helper currency.

Group
helper
Data Type
amount-range
field

Include Tags

Player must have all selected tags for the rule to match.

Group
targeting
Data Type
string-list
field

Exclude Tags

Player must not have any selected tag for the rule to match.

Group
targeting
Data Type
string-list
field

Apply only when player declined MWL

Restricts the saved rule to players whose Monthly Winning Limit is inactive or declined.

Group
flags
Data Type
boolean
field

Active

Enables or disables the saved rule during runtime matching.

Group
flags
Data Type
boolean
Operational notes

Notes

item

Edit mode reuses the same shared form component as create mode, but locks `Games Categories` into a disabled summary field.

item

`UpdateBetLimitService` persists the editable fields on `db.UserLimit`.

item

When a rule is saved inactive, the backend executes an extra cleanup query intended to remove linked `limits_to_user` assignments for that rule.

Related references

Related pages

pageBet Limits

Operator documentation for bet-limit inventory, create flow, and saved limit detail pages.

pageBet Limits / Form

Create workspace for bet-limit rules, including category fan-out, currency preview, player-tag targeting, and behavior flags.

pageBet Limits / List

Bet-limit inventory page for reviewing configured limits and opening saved records.

pageActivity Tag Rules / Detail

Rule inspection page with backend identity, conditions, timestamps, impact estimate, run action, delete action, and recent application history.

pageAffiliate Payment Settings / Detail

Saved affiliate payment-setting detail page for reviewing one configured record.

pageAffiliate Settings / Detail

Saved affiliate detail workspace for reviewing one affiliate and opening report actions.