fix bug
This commit is contained in:
@@ -147,10 +147,10 @@ INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `de
|
||||
SELECT 'referral_id', '', 'الزام کد معرف', 0, 0, 'required,', 'select'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'referral_id' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'fee_service_charge_percentage', '0.005', 'درصد کارمزد سفارش', 1, 1, 'goldAliii: 7%', 'number'
|
||||
SELECT 'fee_service_charge_percentage', '0.005', 'درصد کارمزد سفارش', 1, 1, 'مقدار نمونه: 0.07', 'number'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'fee_service_charge_percentage' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'fee_cash', '500000', 'اختلاف ریالی هر گرم (سفارش)', 1, 1, 'goldAliii: 0', 'number'
|
||||
SELECT 'fee_cash', '500000', 'اختلاف ریالی هر گرم (سفارش)', 1, 1, 'مقدار نمونه: 0', 'number'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'fee_cash' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'payping_start_url', '', 'آدرس شروع درگاه', 1, 0, NULL, 'text'
|
||||
@@ -198,7 +198,7 @@ INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `de
|
||||
SELECT 'tabanGohar_price', 'false', 'قیمت تابان گوهر', 1, 1, NULL, 'switch'
|
||||
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`, `type`)
|
||||
SELECT 'montzar_price', '', 'قیمت از همکار (montzar)', 1, 0, 'گلد علی: false — zaarbox فعال', 'switch'
|
||||
SELECT 'montzar_price', '', 'قیمت از همکار (montzar)', 1, 0, 'معمولاً false وقتی price_provider=zaarbox', 'switch'
|
||||
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'montzar_price' LIMIT 1);
|
||||
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
|
||||
SELECT 'montzar_mobile', '', 'موبایل API همکار', 1, 0, NULL, 'text'
|
||||
@@ -690,7 +690,7 @@ UPDATE `settings` SET
|
||||
`title_fa` = 'درصد کارمزد سفارش',
|
||||
`can_edit` = 1,
|
||||
`type` = 'number',
|
||||
`description` = 'goldAliii: 7%',
|
||||
`description` = 'مقدار نمونه: 0.07',
|
||||
`value` = '0.005',
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
@@ -699,7 +699,7 @@ UPDATE `settings` SET
|
||||
`title_fa` = 'اختلاف ریالی هر گرم (سفارش)',
|
||||
`can_edit` = 1,
|
||||
`type` = 'number',
|
||||
`description` = 'goldAliii: 0',
|
||||
`description` = 'مقدار نمونه: 0',
|
||||
`value` = '500000',
|
||||
`is_active` = 1,
|
||||
`updated_at` = NOW()
|
||||
@@ -843,7 +843,7 @@ UPDATE `settings` SET
|
||||
`title_fa` = 'قیمت از همکار (montzar)',
|
||||
`can_edit` = 1,
|
||||
`type` = 'switch',
|
||||
`description` = 'گلد علی: false — zaarbox فعال',
|
||||
`description` = 'معمولاً false وقتی price_provider=zaarbox',
|
||||
`value` = '',
|
||||
`is_active` = 0,
|
||||
`updated_at` = NOW()
|
||||
|
||||
Reference in New Issue
Block a user