Add whatsapp feature
This commit is contained in:
@@ -23,7 +23,8 @@ from ..schemas.tenant_settings import (
|
||||
ReplenishmentSettings,
|
||||
SafetyStockSettings,
|
||||
MOQSettings,
|
||||
SupplierSelectionSettings
|
||||
SupplierSelectionSettings,
|
||||
NotificationSettings
|
||||
)
|
||||
|
||||
logger = structlog.get_logger()
|
||||
@@ -46,7 +47,8 @@ class TenantSettingsService:
|
||||
"replenishment": ReplenishmentSettings,
|
||||
"safety_stock": SafetyStockSettings,
|
||||
"moq": MOQSettings,
|
||||
"supplier_selection": SupplierSelectionSettings
|
||||
"supplier_selection": SupplierSelectionSettings,
|
||||
"notification": NotificationSettings
|
||||
}
|
||||
|
||||
# Map category names to database column names
|
||||
@@ -60,7 +62,8 @@ class TenantSettingsService:
|
||||
"replenishment": "replenishment_settings",
|
||||
"safety_stock": "safety_stock_settings",
|
||||
"moq": "moq_settings",
|
||||
"supplier_selection": "supplier_selection_settings"
|
||||
"supplier_selection": "supplier_selection_settings",
|
||||
"notification": "notification_settings"
|
||||
}
|
||||
|
||||
def __init__(self, db: AsyncSession):
|
||||
|
||||
Reference in New Issue
Block a user