fix(sms): keep charge deposit defaults and unlock referral bonus
Empty SuperAdmin chargeInfo was wiping sms_charge_* on header refresh. Seed those keys only when empty, and move referral_bonus_amount to can_edit=1. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -42,6 +42,7 @@ UPDATE `settings` SET `menu` = CASE
|
||||
WHEN `key` LIKE 'montzar_%' OR `key` = 'display_montzar' THEN 'montzar'
|
||||
WHEN `key` LIKE 'sms_notif_%'
|
||||
OR `key` IN ('charge_notif', 'register_referral_sms_to_referrer') THEN 'notifications'
|
||||
WHEN `key` LIKE 'sms_charge_%' THEN 'sms_charge'
|
||||
WHEN `key` LIKE 'price_channel_%' OR `key` = 'change_mesghal' THEN 'price_channel'
|
||||
WHEN `key` LIKE 'telegram_bot%' OR `key` LIKE 'bale_bot%' OR `key` LIKE 'rubika_bot%' THEN 'bots'
|
||||
WHEN `key` LIKE 'referral_%'
|
||||
|
||||
Reference in New Issue
Block a user