fix all error 3

This commit is contained in:
2026-08-22 16:50:49 +03:30
parent 7bdb2c91a0
commit 89014821c5
25 changed files with 3371 additions and 2618 deletions
@@ -10,14 +10,15 @@ DELETE FROM `settings` WHERE `key` IN (
'price_primary_source'
);
UPDATE `settings`
SET
`value` = CASE
WHEN LOWER(TRIM(`value`)) IN ('taban_gohar', 'etehadie') THEN 'montzar'
ELSE `value`
END,
`description` = 'منبع فعال قیمت|montzar,zaarbox,main_product',
`type` = 'select'
WHERE `key` = 'price_provider';
-- [super-admin can_edit=0]
-- UPDATE `settings`
-- SET
-- `value` = CASE
-- WHEN LOWER(TRIM(`value`)) IN ('taban_gohar', 'etehadie') THEN 'montzar'
-- ELSE `value`
-- END,
-- `description` = 'منبع فعال قیمت|montzar,zaarbox,main_product',
-- `type` = 'select'
-- WHERE `key` = 'price_provider';
COMMIT;