Add customer multi-level referral profit editor and related settings UI.
Expose enable_customer_level_profit in config and let admins edit per-customer level percents from the customers table/mobile sheets. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -182,7 +182,7 @@ export const TEMPLATE_FIELD_CONFIGS: Record<string, TemplateFieldConfig> = {
|
||||
previewTitle: 'پیشنمایش راهنما',
|
||||
placeholder: 'متن راهنمای واریز در مودال شارژ حساب را بنویسید…',
|
||||
hint: 'روی هر متغیر کلیک کنید تا در محل نشانگر اضافه شود. اگر خالی بگذارید، متن پیشفرض اپ استفاده میشود.',
|
||||
legend: 'مقادیر بالا نمونهاند؛ در اپ، نام/کارت/شبا از فیلدهای «نام صاحب حساب واریز»، «شماره کارت واریز» و «شبا واریز» پر میشوند.',
|
||||
legend: 'مقادیر بالا نمونهاند؛ در اپ، نام/کارت/حساب/شبا از فیلدهای مربوطه پر میشوند.',
|
||||
rows: 8,
|
||||
defaultTemplate: DEPOSIT_GUIDE_DEFAULT,
|
||||
variableGroups: [
|
||||
@@ -192,6 +192,7 @@ export const TEMPLATE_FIELD_CONFIGS: Record<string, TemplateFieldConfig> = {
|
||||
items: [
|
||||
{ token: 'نام', label: 'صاحب حساب', help: 'نام صاحب حساب (از فیلد «نام صاحب حساب واریز»)' },
|
||||
{ token: 'کارت', label: 'شماره کارت', help: 'شماره کارت (از فیلد «شماره کارت واریز»)' },
|
||||
{ token: 'حساب', label: 'شماره حساب', help: 'شماره حساب (از فیلد «شماره حساب واریز»)' },
|
||||
{ token: 'شبا', label: 'شماره شبا', help: 'شماره شبا (از فیلد «شبا واریز»)' },
|
||||
],
|
||||
},
|
||||
@@ -199,6 +200,7 @@ export const TEMPLATE_FIELD_CONFIGS: Record<string, TemplateFieldConfig> = {
|
||||
sampleValues: {
|
||||
نام: 'علی رضایی',
|
||||
کارت: '۶۰۳۷-۹۹۷۹-۱۲۳۴-۵۶۷۸',
|
||||
حساب: '۰۱۰۸۱۷۹۰۹۰۰۲',
|
||||
شبا: 'IR۸۲۰۵۴۰۱۰۲۶۸۰۰۲۰۸۱۷۹۰۹۰۰۲',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user