fix pargar bugs
This commit is contained in:
@@ -299,6 +299,8 @@ const KEY_TYPE_FALLBACK: Record<string, SettingFieldType> = {
|
||||
pargar_username: 'text',
|
||||
pargar_password: 'text',
|
||||
pargar_api_token: 'text',
|
||||
pargar_item_id_rial: 'number',
|
||||
pargar_item_id_gold: 'number',
|
||||
support_messengers: 'longtext',
|
||||
tracking_systems: 'longtext',
|
||||
tracking_systems_enabled: 'switch',
|
||||
@@ -714,6 +716,10 @@ const KEY_HELP_FALLBACK: Record<string, string> = {
|
||||
'رمز عبور login API پرگار — در پنل ثبت میشود و به پرگار داده میشود.',
|
||||
pargar_api_token:
|
||||
'توکن ثابت اختیاری برای احراز API پرگار (جایگزین توکن login).',
|
||||
pargar_item_id_rial:
|
||||
'کد کالای ریال در پرگار برای اسناد واریز/برداشت ریالی. اگر خالی یا صفر باشد از کد طلا استفاده میشود و وزن صفر ارسال میشود.',
|
||||
pargar_item_id_gold:
|
||||
'کد کالای طلا (کیف اصلی) در پرگار — پیشفرض ۱۱.',
|
||||
tahesab_host:
|
||||
'آدرس سرور نرمافزار تهحساب در شبکه.',
|
||||
tahesab_port:
|
||||
@@ -797,6 +803,8 @@ export const KEY_LABEL_FALLBACK: Record<string, string> = {
|
||||
sms_notif_fund_withdraw_admin: 'پیامک برداشت قلک به ادمین',
|
||||
sms_notif_fund_withdraw_customer: 'پیامک برداشت قلک به مشتری',
|
||||
sms_notif_price_trigger: 'پیامک هشدار قیمت',
|
||||
pargar_item_id_rial: 'کد کالای ریال پرگار',
|
||||
pargar_item_id_gold: 'کد کالای طلا پرگار',
|
||||
sms_notif_wallet_alert: 'پیامک هشدار اعتبار پنل پیامک',
|
||||
auto_active_customer: 'فعالسازی خودکار پس از ثبتنام',
|
||||
balance_report_exclude_customer_id: 'حذف مشتری از گزارش تراز',
|
||||
@@ -868,6 +876,7 @@ export const SETTING_LOCKED_KEYS = new Set([
|
||||
'tahesab_bank_account', 'tahesab_db', 'tahesab_host', 'tahesab_port', 'tahesab_token',
|
||||
'tracking_systems', 'tracking_systems_enabled',
|
||||
'pargar_api_token', 'pargar_password', 'pargar_username',
|
||||
'pargar_item_id_rial', 'pargar_item_id_gold',
|
||||
'telegram_bot_token', 'rubika_bot_token',
|
||||
'price_channel_bale_to', 'price_channel_telegram_to', 'price_channel_rubika_to',
|
||||
'unit',
|
||||
|
||||
Reference in New Issue
Block a user