Page body
What this page does
This detail page edits one existing monthly-limit rule at /monthly-limits/[monthlyLimitId].
Important behavior
Edit mode really persists Is Active
Unlike the create page, the detail page sends isActive through PUT /api/admin/update-monthly-limit, and UpdateMonthlyLimitService writes it to the saved rule.
The same Do Not Use logic stays active in edit mode
- both switches off: count and amount both apply
Do Not Use By Amount: count-only ruleDo Not Use Deposit Count: amount-only rule- both on: FE guidance treats the rule as universal
Deactivation triggers backend cleanup logic
When a rule is saved inactive, UpdateMonthlyLimitService runs an extra SQL cleanup path intended to remove linked user assignments for that rule.
Verification status
- status:
verified_backend - FE edit route verified in
EditMonthlyLimitForm - backend detail/update routes verified in
AdminController.getMonthlyLimitDetailandAdminController.updateMonthlyLimit