This commit is contained in:
2026-06-06 16:05:40 +03:30
parent 08f2f475ed
commit 5b36f2847f
16 changed files with 214 additions and 102 deletions
@@ -44,7 +44,7 @@ SELECT 'tabanGohar_price', 'false', 'قیمت تابان گوهر', 1, 1, NULL
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'tabanGohar_price' LIMIT 1);
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`)
SELECT 'montzar_price', 'false', 'قیمت از همکار (montzar)', 1, 1, 'گلد علی: false — zaarbox فعال'
SELECT 'montzar_price', 'false', 'قیمت از همکار (montzar)', 1, 1, 'معمولاً false وقتی price_provider=zaarbox'
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_price' LIMIT 1);
-- Montzar — برای تعویض provider یا پر شدن خودکار توسط cron
@@ -338,7 +338,7 @@ UPDATE `settings` SET `type` = 'longtext' WHERE `key` IN ('text_rule', 'text_abo
-- select (+ گزینه‌ها در description)
UPDATE `settings` SET `type` = 'select', `description` = 'montzar,zaarbox,main_product,etehadie,taban_gohar' WHERE `key` = 'price_provider';
UPDATE `settings` SET `type` = 'select', `description` = 'required,' WHERE `key` = 'referral_id';
UPDATE `settings` SET `type` = 'select', `description` = 'required = اجباری؛ خالی = اختیاری|required,', `can_edit` = 1 WHERE `key` = 'referral_id';
UPDATE `settings` SET `type` = 'select', `description` = 'sepal,' WHERE `key` = 'payping_gateway_name';
-- switch
@@ -348,7 +348,7 @@ UPDATE `settings` SET `type` = 'switch' WHERE `key` IN (
'send_to_tahesab', 'profit_gold_api_enabled', 'payping_round_toman', 'payping_strict_failed_withdraw',
'has_page_earn_money', 'has_page_fund', 'has_page_permission', 'has_page_price_trigger',
'has_page_physical_gold', 'has_chat', 'charge_notif', 'group_sms', 'display_montzar',
'montzar_closed', 'montzar_open_buy', 'montzar_open_sell', 'is_requaire_referral',
'montzar_closed', 'montzar_open_buy', 'montzar_open_sell',
'product_update_price_on_list', 'product_auto_close_open_on_list', 'payping_fin_sync_enabled',
'fee_free', 'external_order_api_enabled'
);