From 9b09e8b7c65e52fd3335ae5c0d46c6eaafa32a74 Mon Sep 17 00:00:00 2001 From: Du Peng Date: Fri, 1 Sep 2023 16:05:54 +0200 Subject: [PATCH] (feat) allow notify_admin_order_is_paid notification to setting --- db/seeds/notification_types.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/seeds/notification_types.rb b/db/seeds/notification_types.rb index 160705281..ff894b640 100644 --- a/db/seeds/notification_types.rb +++ b/db/seeds/notification_types.rb @@ -70,7 +70,7 @@ NOTIFICATIONS_TYPES = [ { name: 'notify_user_is_invalidated', category: 'users_accounts', is_configurable: false }, { name: 'notify_user_supporting_document_refusal', category: 'supporting_documents', is_configurable: false }, { name: 'notify_admin_user_supporting_document_refusal', category: 'supporting_documents', is_configurable: true, roles: ['admin', 'manager'] }, - { name: 'notify_admin_order_is_paid', category: 'shop', is_configurable: false }, + { name: 'notify_admin_order_is_paid', category: 'shop', is_configurable: true, roles: ['admin', 'manager'] }, { name: 'notify_user_order_is_ready', category: 'shop', is_configurable: false }, { name: 'notify_user_order_is_canceled', category: 'shop', is_configurable: false }, { name: 'notify_user_order_is_refunded', category: 'shop', is_configurable: false },