added enable_customer_profit
This commit is contained in:
@@ -390,6 +390,7 @@ const KEY_TYPE_FALLBACK: Record<string, SettingFieldType> = {
|
|||||||
has_landing: 'switch',
|
has_landing: 'switch',
|
||||||
has_charts: 'switch',
|
has_charts: 'switch',
|
||||||
enable_remittance: 'switch',
|
enable_remittance: 'switch',
|
||||||
|
enable_customer_profit: 'switch',
|
||||||
has_chat: 'switch',
|
has_chat: 'switch',
|
||||||
landing_site: 'longtext',
|
landing_site: 'longtext',
|
||||||
landing_header: 'longtext',
|
landing_header: 'longtext',
|
||||||
@@ -815,6 +816,8 @@ const KEY_HELP_FALLBACK: Record<string, string> = {
|
|||||||
'روشن: بخش نمودارها در اپلیکیشن فعال است. خاموش: نمودارها غیرفعال هستند.',
|
'روشن: بخش نمودارها در اپلیکیشن فعال است. خاموش: نمودارها غیرفعال هستند.',
|
||||||
enable_remittance:
|
enable_remittance:
|
||||||
'روشن: امکان انتقال وجه یا محصول از کیف پول به سایر شمارهها توسط کاربران فعال است. خاموش: این امکان غیرفعال است.',
|
'روشن: امکان انتقال وجه یا محصول از کیف پول به سایر شمارهها توسط کاربران فعال است. خاموش: این امکان غیرفعال است.',
|
||||||
|
enable_customer_profit:
|
||||||
|
'روشن: امکان نگهداری و سپردهگذاری طلا یا پول با سود دورهای برای مشتریان فعال است. خاموش: این امکان غیرفعال است.',
|
||||||
landing_site: 'محتوای تنظیمات کلی لندینگ وبسایت.',
|
landing_site: 'محتوای تنظیمات کلی لندینگ وبسایت.',
|
||||||
landing_header: 'محتوای هدر و ناوبری لندینگ.',
|
landing_header: 'محتوای هدر و ناوبری لندینگ.',
|
||||||
landing_hero: 'محتوای سکشن هیرو لندینگ.',
|
landing_hero: 'محتوای سکشن هیرو لندینگ.',
|
||||||
@@ -1118,6 +1121,7 @@ export const KEY_LABEL_FALLBACK: Record<string, string> = {
|
|||||||
has_landing: 'لندینگ وبسایت',
|
has_landing: 'لندینگ وبسایت',
|
||||||
has_charts: 'نمودارها',
|
has_charts: 'نمودارها',
|
||||||
enable_remittance: 'حواله',
|
enable_remittance: 'حواله',
|
||||||
|
enable_customer_profit: 'سود مشارکت و سپرده',
|
||||||
has_chat: 'چت پشتیبانی',
|
has_chat: 'چت پشتیبانی',
|
||||||
landing_site: 'تنظیمات کلی سایت',
|
landing_site: 'تنظیمات کلی سایت',
|
||||||
landing_header: 'هدر و ناوبری',
|
landing_header: 'هدر و ناوبری',
|
||||||
@@ -1223,7 +1227,7 @@ export const SETTING_LOCKED_KEYS = new Set([
|
|||||||
'unit',
|
'unit',
|
||||||
'wss_enabled',
|
'wss_enabled',
|
||||||
'zaarbox_api_url',
|
'zaarbox_api_url',
|
||||||
'show_to_users_chat', 'has_landing', 'has_charts', 'enable_remittance', 'chat_api', 'chat_api_key', 'chat_upload_url', 'chat_download_url'
|
'show_to_users_chat', 'has_landing', 'has_charts', 'enable_remittance', 'enable_customer_profit', 'chat_api', 'chat_api_key', 'chat_upload_url', 'chat_download_url'
|
||||||
])
|
])
|
||||||
|
|
||||||
/** قابل ویرایش در پنل — همتراز deploy_settings_const.sql */
|
/** قابل ویرایش در پنل — همتراز deploy_settings_const.sql */
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export const KHANEGI_SYSTEM_SETTING_GROUPS: SettingGroupDef[] = [
|
|||||||
title: 'دسترسی مشتری به قابلیتها',
|
title: 'دسترسی مشتری به قابلیتها',
|
||||||
icon: 'TeamOutlined',
|
icon: 'TeamOutlined',
|
||||||
match: (k) =>
|
match: (k) =>
|
||||||
/^(enable_automation|enable_conditional_order|enable_product_funds|enable_remittance|has_page_price_trigger|has_page_notification|has_page_gift_card|enable_customer_level_profit|banner_enabled|jibit_enabled|customer_direct_sms|has_page_earn_money|group_sms|customer_special_pricing|enable_gold_credit|tracking_systems_enabled|permision__enabled|show_to_users_chat|has_landing|has_charts)$/.test(
|
/^(enable_automation|enable_conditional_order|enable_product_funds|enable_remittance|enable_customer_profit|has_page_price_trigger|has_page_notification|has_page_gift_card|enable_customer_level_profit|banner_enabled|jibit_enabled|customer_direct_sms|has_page_earn_money|group_sms|customer_special_pricing|enable_gold_credit|tracking_systems_enabled|permision__enabled|show_to_users_chat|has_landing|has_charts)$/.test(
|
||||||
k,
|
k,
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ export const SUPERADMIN_SYSTEM_SETTING_KEYS = new Set<string>([
|
|||||||
"enable_automation",
|
"enable_automation",
|
||||||
"enable_conditional_order",
|
"enable_conditional_order",
|
||||||
"enable_customer_level_profit",
|
"enable_customer_level_profit",
|
||||||
|
"enable_customer_profit",
|
||||||
"enable_gold_credit",
|
"enable_gold_credit",
|
||||||
"enable_product_funds",
|
"enable_product_funds",
|
||||||
"enable_remittance",
|
"enable_remittance",
|
||||||
|
|||||||
Reference in New Issue
Block a user