diff --git a/prisma/setting-templates-from-deploy.json b/prisma/setting-templates-from-deploy.json index 946cc07..b2d7ad7 100644 --- a/prisma/setting-templates-from-deploy.json +++ b/prisma/setting-templates-from-deploy.json @@ -124,5 +124,14 @@ "is_active": 1, "description": "", "type": "" + }, + { + "key": "enable_gold_credit", + "value": "false", + "title_fa": "اعتبار طلایی", + "description": "روشن: زیرمنوی اعتبار در مشتریان و صفحه اعتبار در اپ مشتری. خاموش: غیرفعال. فقط از سوپرادمین.", + "type": "switch", + "can_edit": 0, + "is_active": 1 } -] +] \ No newline at end of file diff --git a/src/program-settings/deploy-setting-catalog-keys.ts b/src/program-settings/deploy-setting-catalog-keys.ts index 1a76a4c..de8033e 100644 --- a/src/program-settings/deploy-setting-catalog-keys.ts +++ b/src/program-settings/deploy-setting-catalog-keys.ts @@ -8,6 +8,7 @@ export const DEPLOY_SETTING_CATALOG_KEYS = new Set([ "enable_automation", "enable_conditional_order", "enable_customer_level_profit", + "enable_gold_credit", "enable_product_funds", "group_sms", "has_page_earn_money",