added ons
This commit is contained in:
@@ -20,7 +20,7 @@ export const EDITABLE_SETTING_GROUPS: SettingGroupDef[] = [
|
|||||||
id: 'trading_hours',
|
id: 'trading_hours',
|
||||||
title: 'ساعت کاری و نمایش قیمت',
|
title: 'ساعت کاری و نمایش قیمت',
|
||||||
icon: 'vuesax-linear:clock',
|
icon: 'vuesax-linear:clock',
|
||||||
match: (k) => /^(close_price|startDay|endDay|show_last_price)$/.test(k)
|
match: (k) => /^(close_price|startDay|endDay|show_last_price|show_gold_ounce_price)$/.test(k)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'pricing',
|
id: 'pricing',
|
||||||
|
|||||||
@@ -123,6 +123,7 @@ const KEY_TYPE_FALLBACK: Record<string, SettingFieldType> = {
|
|||||||
startDay: 'time',
|
startDay: 'time',
|
||||||
endDay: 'time',
|
endDay: 'time',
|
||||||
show_last_price: 'switch',
|
show_last_price: 'switch',
|
||||||
|
show_gold_ounce_price: 'switch',
|
||||||
send_to_tahesab: 'switch',
|
send_to_tahesab: 'switch',
|
||||||
accounting_provider: 'select',
|
accounting_provider: 'select',
|
||||||
profit_gold_api_enabled: 'switch',
|
profit_gold_api_enabled: 'switch',
|
||||||
@@ -325,6 +326,8 @@ const KEY_HELP_FALLBACK: Record<string, string> = {
|
|||||||
'ساعت پایان فعالیت روزانه فروشگاه. فقط وقتی «بستن خودکار خارج از ساعت کاری» روشن باشد اعمال میشود. بعد از این ساعت فروشگاه بسته میشود (مثلاً ۱۷:۰۰ یا ۲۲:۰۰).',
|
'ساعت پایان فعالیت روزانه فروشگاه. فقط وقتی «بستن خودکار خارج از ساعت کاری» روشن باشد اعمال میشود. بعد از این ساعت فروشگاه بسته میشود (مثلاً ۱۷:۰۰ یا ۲۲:۰۰).',
|
||||||
show_last_price:
|
show_last_price:
|
||||||
'وقتی قیمت زنده در دسترس نباشد: روشن = آخرین قیمت ذخیرهشده نشان داده میشود؛ خاموش = بهجای صفر پیام «مظنه در دسترس نیست» نمایش داده میشود.',
|
'وقتی قیمت زنده در دسترس نباشد: روشن = آخرین قیمت ذخیرهشده نشان داده میشود؛ خاموش = بهجای صفر پیام «مظنه در دسترس نیست» نمایش داده میشود.',
|
||||||
|
show_gold_ounce_price:
|
||||||
|
'روشن: اگر آدرس API تابلو (zaarbox_api_url) تنظیم شده باشد، قیمت انس طلا در اپ مشتری نمایش داده میشود. خاموش: نمایش داده نمیشود.',
|
||||||
fee_single:
|
fee_single:
|
||||||
'اختلاف پایه (ریال) بین قیمت خرید و فروش روی مظنه. معمولاً نصف مجموع اختلاف قیمت خرید و فروش است.',
|
'اختلاف پایه (ریال) بین قیمت خرید و فروش روی مظنه. معمولاً نصف مجموع اختلاف قیمت خرید و فروش است.',
|
||||||
buy_fee:
|
buy_fee:
|
||||||
@@ -519,6 +522,7 @@ export const KEY_LABEL_FALLBACK: Record<string, string> = {
|
|||||||
startDay: 'ساعت شروع',
|
startDay: 'ساعت شروع',
|
||||||
endDay: 'ساعت پایان',
|
endDay: 'ساعت پایان',
|
||||||
show_last_price: 'نمایش آخرین قیمت ذخیرهشده',
|
show_last_price: 'نمایش آخرین قیمت ذخیرهشده',
|
||||||
|
show_gold_ounce_price: 'نمایش قیمت انس طلا',
|
||||||
fee_single: 'اختلاف پایه خرید/فروش',
|
fee_single: 'اختلاف پایه خرید/فروش',
|
||||||
buy_fee: 'اضافه قیمت خرید',
|
buy_fee: 'اضافه قیمت خرید',
|
||||||
sell_fee: 'کسر قیمت فروش',
|
sell_fee: 'کسر قیمت فروش',
|
||||||
@@ -621,7 +625,7 @@ export const SETTING_EDITABLE_KEYS = new Set([
|
|||||||
'open_register',
|
'open_register',
|
||||||
'referral_bonus_amount', 'referral_id', 'referral_limit', 'referral_gift_on_first_order',
|
'referral_bonus_amount', 'referral_id', 'referral_limit', 'referral_gift_on_first_order',
|
||||||
'register_jibit_verify', 'register_referral_bonus_message', 'register_referral_sms_to_referrer',
|
'register_jibit_verify', 'register_referral_bonus_message', 'register_referral_sms_to_referrer',
|
||||||
'sell_fee', 'show_last_price', 'startDay',
|
'sell_fee', 'show_last_price', 'show_gold_ounce_price', 'startDay',
|
||||||
'support_messenger', 'support_messenger_id', 'support_messenger_text',
|
'support_messenger', 'support_messenger_id', 'support_messenger_text',
|
||||||
'deposit_support_message_text', 'deposit_account_holder', 'deposit_card_number', 'deposit_sheba',
|
'deposit_support_message_text', 'deposit_account_holder', 'deposit_card_number', 'deposit_sheba',
|
||||||
'text_about', 'text_rule',
|
'text_about', 'text_rule',
|
||||||
|
|||||||
Reference in New Issue
Block a user