New enterprise feature2
This commit is contained in:
@@ -28,10 +28,9 @@ from shared.clients import (
|
||||
get_production_client,
|
||||
get_sales_client,
|
||||
get_inventory_client,
|
||||
get_procurement_client
|
||||
get_procurement_client,
|
||||
get_distribution_client
|
||||
)
|
||||
# TODO: Add distribution client when available
|
||||
# from shared.clients import get_distribution_client
|
||||
|
||||
def get_enterprise_dashboard_service() -> EnterpriseDashboardService:
|
||||
from app.core.config import settings
|
||||
@@ -40,7 +39,7 @@ def get_enterprise_dashboard_service() -> EnterpriseDashboardService:
|
||||
production_client = get_production_client(settings)
|
||||
sales_client = get_sales_client(settings)
|
||||
inventory_client = get_inventory_client(settings)
|
||||
distribution_client = None # TODO: Add when distribution service is ready
|
||||
distribution_client = get_distribution_client(settings)
|
||||
procurement_client = get_procurement_client(settings)
|
||||
|
||||
return EnterpriseDashboardService(
|
||||
|
||||
Reference in New Issue
Block a user