fix bug of pargar 3
This commit is contained in:
@@ -21,7 +21,7 @@ export const EDITABLE_SETTING_GROUPS: SettingGroupDef[] = [
|
||||
title: 'دسترسی مشتری به قابلیتها',
|
||||
icon: 'vuesax-linear:people',
|
||||
match: (k) =>
|
||||
/^(banner_enabled|tracking_systems_enabled|jibit_verification|register_jibit_verify)$/.test(k)
|
||||
/^(banner_enabled|tracking_systems_enabled|jibit_verification|register_jibit_verify|show_product_details)$/.test(k)
|
||||
},
|
||||
{
|
||||
id: 'trading_hours',
|
||||
|
||||
@@ -268,6 +268,7 @@ const KEY_TYPE_FALLBACK: Record<string, SettingFieldType> = {
|
||||
show_last_price: 'switch',
|
||||
show_home_price_when_closed: 'switch',
|
||||
show_gold_ounce_price: 'switch',
|
||||
show_product_details: 'switch',
|
||||
send_to_tahesab: 'switch',
|
||||
accounting_provider: 'select',
|
||||
profit_gold_api_enabled: 'switch',
|
||||
@@ -561,6 +562,8 @@ const KEY_HELP_FALLBACK: Record<string, string> = {
|
||||
'روشن: وقتی فروشگاه خارج از ساعت کاری است، قیمت صفحه اصلی اپ همچنان نمایش داده میشود و پیام «فروشگاه بسته است» نشان داده نمیشود. خرید/فروش همچنان بسته میماند. خاموش (پیشفرض): خارج از ساعت پیام بسته بودن نشان داده میشود.',
|
||||
show_gold_ounce_price:
|
||||
'روشن: اگر آدرس API تابلو (zaarbox_api_url) تنظیم شده باشد، قیمت انس طلا در اپ مشتری نمایش داده میشود. خاموش: نمایش داده نمیشود.',
|
||||
show_product_details:
|
||||
'روشن: بعد از انتخاب محصول در صفحه خرید/فروش، متن توضیح محصول نمایش داده میشود. خاموش: توضیح نشان داده نمیشود.',
|
||||
fee_single:
|
||||
'اختلاف پایه (ریال) بین قیمت خرید و فروش روی مظنه. معمولاً نصف مجموع اختلاف قیمت خرید و فروش است.',
|
||||
buy_fee:
|
||||
@@ -819,6 +822,7 @@ export const KEY_LABEL_FALLBACK: Record<string, string> = {
|
||||
show_last_price: 'نمایش آخرین قیمت ذخیرهشده',
|
||||
show_home_price_when_closed: 'نمایش قیمت صفحه اصلی خارج از ساعت کاری',
|
||||
show_gold_ounce_price: 'نمایش قیمت انس طلا',
|
||||
show_product_details: 'نمایش جزئیات اطلاعات محصول',
|
||||
fee_single: 'اختلاف پایه خرید/فروش',
|
||||
buy_fee: 'اضافه قیمت خرید',
|
||||
sell_fee: 'کسر قیمت فروش',
|
||||
@@ -978,7 +982,7 @@ export const SETTING_EDITABLE_KEYS = new Set([
|
||||
'open_register',
|
||||
'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', 'show_home_price_when_closed', 'show_gold_ounce_price', 'startDay',
|
||||
'sell_fee', 'show_last_price', 'show_home_price_when_closed', 'show_gold_ounce_price', 'show_product_details', 'startDay',
|
||||
'support_messengers', '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