added wss tools

This commit is contained in:
2026-06-17 21:26:08 +03:30
parent cc5808e755
commit b66a8611cd
5 changed files with 140 additions and 47 deletions
@@ -312,7 +312,7 @@ INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `de
SELECT 'product_auto_close_open_on_list', '', 'باز/بسته خودکار محصول', 1, 0, NULL, 'switch'
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'product_auto_close_open_on_list' LIMIT 1);
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
SELECT 'metal_type', 'کاتد مس', 'عنوان فلز در UI', 1, 1, NULL, 'text'
SELECT 'metal_type', 'کاتد مس', 'عنوان فلز در UI', 0, 1, NULL, 'text'
WHERE NOT EXISTS (SELECT 1 FROM `settings` WHERE `key` = 'metal_type' LIMIT 1);
INSERT INTO `settings` (`key`, `value`, `title_fa`, `can_edit`, `is_active`, `description`, `type`)
SELECT 'payping_fin_sync_enabled', '', 'همگام‌سازی fin لیمان', 1, 0, NULL, 'switch'
@@ -1183,7 +1183,7 @@ UPDATE `settings` SET
WHERE `key` = 'product_auto_close_open_on_list';
UPDATE `settings` SET
`title_fa` = 'عنوان فلز در UI',
`can_edit` = 1,
`can_edit` = 0,
`type` = 'text',
`description` = NULL,
`value` = 'کاتد مس',