feat: add catalog module toggle

- Add catalog module to POS config endpoints, sidebar filter, config UI
- Add catalog toggle to Instance Manager tenant modules modal
This commit is contained in:
2026-05-28 00:29:33 +00:00
parent 718fa06888
commit 9f04bfe0bb
7 changed files with 30 additions and 3 deletions

View File

@@ -597,6 +597,7 @@ def get_modules():
'whatsapp': _bool('module_whatsapp'),
'marketplace': _bool('module_marketplace'),
'meli': _bool('module_meli'),
'catalog': _bool('module_catalog'),
})
@@ -612,6 +613,7 @@ def update_modules():
'module_whatsapp': 'true' if data.get('whatsapp') else 'false',
'module_marketplace': 'true' if data.get('marketplace') else 'false',
'module_meli': 'true' if data.get('meli') else 'false',
'module_catalog': 'true' if data.get('catalog') else 'false',
}
for key, value in settings.items():