added enable_customer_profit
This commit is contained in:
@@ -91,6 +91,12 @@ export const PLUGIN_CATALOG_SEED: Array<{
|
||||
description:
|
||||
'ثبت سفارشات خودکار خرید و فروش طلا در قیمت هدف (Limit Order)؛ انجام قطعی معامله در هر ساعت از شبانهروز بلافاصله پس از لمس قیمت بازار.',
|
||||
},
|
||||
{
|
||||
settingKey: 'enable_customer_profit',
|
||||
titleFa: 'سود مشارکت و سپرده مشتری',
|
||||
description:
|
||||
'سپردهگذاری و نگهداری موجودی ریالی یا وزنی طلا توسط کاربران با نرخ و دورههای سود معین، جهت جذب نقدینگی و ارزشآفرینی داراییهای مشتریان.',
|
||||
},
|
||||
{
|
||||
settingKey: 'enable_remittance',
|
||||
titleFa: 'حواله',
|
||||
@@ -156,6 +162,7 @@ export function inferSettingKeyFromName(name: string): string | null {
|
||||
[/مجوز/, 'permision__enabled'],
|
||||
[/نمودار/, 'has_charts'],
|
||||
[/حواله/, 'enable_remittance'],
|
||||
[/سود.*مشارکت|سود.*سپرده|سپرده.*سود/, 'enable_customer_profit'],
|
||||
];
|
||||
for (const [re, key] of rules) {
|
||||
if (re.test(n)) return key;
|
||||
|
||||
@@ -8,6 +8,7 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set<string>([
|
||||
"enable_automation",
|
||||
"enable_conditional_order",
|
||||
"enable_customer_level_profit",
|
||||
"enable_customer_profit",
|
||||
"enable_gold_credit",
|
||||
"enable_product_funds",
|
||||
"enable_remittance",
|
||||
|
||||
Reference in New Issue
Block a user