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