fix all error 3
This commit is contained in:
@@ -106,29 +106,32 @@ UPDATE `settings` SET
|
||||
`description` = 'required = اجباری|required,'
|
||||
WHERE `key` = 'referral_id';
|
||||
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'منبع قیمت',
|
||||
`type` = 'select',
|
||||
`is_active` = 1,
|
||||
`description` = 'منبع فعال قیمت|montzar,zaarbox,main_product,taban_gohar'
|
||||
WHERE `key` = 'price_provider';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'منبع قیمت',
|
||||
-- `type` = 'select',
|
||||
-- `is_active` = 1,
|
||||
-- `description` = 'منبع فعال قیمت|montzar,zaarbox,main_product,taban_gohar'
|
||||
-- WHERE `key` = 'price_provider';
|
||||
|
||||
UPDATE `settings` SET
|
||||
`title_fa` = 'UUID نمودار Zaarbox',
|
||||
`type` = 'text',
|
||||
`is_active` = 1,
|
||||
`can_edit` = 1,
|
||||
`description` = 'خالی = ca3800a0-1f57-3528-b963-178f9168e04f',
|
||||
`value` = CASE
|
||||
WHEN TRIM(COALESCE(`value`, '')) = '' THEN '8c19e06a-446e-3d56-9cc0-750f7c6cd767'
|
||||
ELSE `value`
|
||||
END
|
||||
WHERE `key` = 'chart_id';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET
|
||||
-- `title_fa` = 'UUID نمودار Zaarbox',
|
||||
-- `type` = 'text',
|
||||
-- `is_active` = 1,
|
||||
-- `can_edit` = 1,
|
||||
-- `description` = 'خالی = ca3800a0-1f57-3528-b963-178f9168e04f',
|
||||
-- `value` = CASE
|
||||
-- WHEN TRIM(COALESCE(`value`, '')) = '' THEN '8c19e06a-446e-3d56-9cc0-750f7c6cd767'
|
||||
-- ELSE `value`
|
||||
-- END
|
||||
-- WHERE `key` = 'chart_id';
|
||||
|
||||
UPDATE `settings` SET `description` = 'جایگزین: price_provider=main_product' WHERE `key` = 'main_product_price';
|
||||
UPDATE `settings` SET `description` = 'true یا price_provider=montzar' WHERE `key` = 'montzar_price';
|
||||
UPDATE `settings` SET `description` = 'تعداد سفارش اول بدون کارمزد' WHERE `key` = 'fee_free';
|
||||
UPDATE `settings` SET `description` = 'id یا reading_method محصول آبشده' WHERE `key` = 'main_product';
|
||||
-- [super-admin can_edit=0]
|
||||
-- UPDATE `settings` SET `description` = 'id یا reading_method محصول آبشده' WHERE `key` = 'main_product';
|
||||
|
||||
UPDATE `settings` SET `type` = 'switch' WHERE `key` IN (
|
||||
'group_sms', 'bale_bot_token', 'jibit_verification', 'register_jibit_verify',
|
||||
|
||||
Reference in New Issue
Block a user