fix enamad
This commit is contained in:
@@ -46,7 +46,12 @@ UPDATE `settings` SET `menu` = CASE
|
||||
WHEN `key` LIKE 'telegram_bot%' OR `key` LIKE 'bale_bot%' OR `key` LIKE 'rubika_bot%' THEN 'bots'
|
||||
WHEN `key` LIKE 'referral_%'
|
||||
OR `key` IN ('invite_link_text', 'gift_for', 'register_referral', 'referral_bonus_amount') THEN 'referral'
|
||||
WHEN `key` LIKE 'text_%' OR `key` IN ('enamad_url', 'about_software') THEN 'content'
|
||||
WHEN `key` LIKE 'text_%' OR `key` IN ('about_software') THEN 'content'
|
||||
WHEN `key` LIKE 'logo_%' OR `key` IN (
|
||||
'name_fa', 'name_en', 'app_url', 'admin_url', 'apk_download_link', 'bace_url', 'server_url',
|
||||
'title_pwa', 'title_fav', 'metal_type', 'main_metal', 'unit', 'open_register', 'auto_active_customer',
|
||||
'store_status', 'key', 'is_store', 'sms_panel', 'enamad_url', 'enamad_logo'
|
||||
) THEN 'general'
|
||||
WHEN `key` LIKE 'min_%' OR `key` LIKE 'minimum_%' OR `key` LIKE 'balance_report_exclude%' THEN 'limits'
|
||||
WHEN `key` LIKE 'zaarbox_%' OR `key` IN ('price_provider', 'main_product') THEN 'price_source'
|
||||
WHEN `key` LIKE 'node_%' OR `key` IN ('montify_name', 'external_order_api_enabled') THEN 'store'
|
||||
@@ -66,12 +71,6 @@ UPDATE `settings` SET `menu` = CASE
|
||||
'has_page_gift_card', 'enable_customer_level_profit', 'jibit_enabled', 'customer_direct_sms',
|
||||
'has_page_earn_money', 'group_sms', 'customer_special_pricing', 'permision__enabled', 'show_to_users_chat'
|
||||
) THEN 'customer_features'
|
||||
WHEN `key` LIKE 'logo_%'
|
||||
OR `key` IN (
|
||||
'name_fa', 'name_en', 'app_url', 'admin_url', 'apk_download_link', 'bace_url', 'server_url',
|
||||
'title_pwa', 'title_fav', 'metal_type', 'main_metal', 'unit', 'open_register', 'auto_active_customer',
|
||||
'store_status', 'key', 'is_store', 'sms_panel'
|
||||
) THEN 'general'
|
||||
ELSE 'misc'
|
||||
END;
|
||||
|
||||
@@ -99,6 +98,7 @@ UPDATE `settings` SET `show_to_user` = 1 WHERE `key` IN (
|
||||
'deposit_support_message_text',
|
||||
'enable_conditional_order',
|
||||
'enable_product_funds',
|
||||
'enamad_logo',
|
||||
'enamad_url',
|
||||
'endDay',
|
||||
'fee_conditional_order',
|
||||
|
||||
Reference in New Issue
Block a user