Analytics Module: - Created AnalyticsService with sales/financial reporting - Supports sales summary, reports, top products/customers, KPIs - Uses analytics schema and service_management tables MCP Tools Connected: - products-tools → PartService (real inventory data) - sales-tools → AnalyticsService (real sales analytics) - financial-tools → AnalyticsService (real P&L and KPIs) Updated tool registry to pass DataSource to connected tools. MCP Tools Status: - orders-tools: Connected to ServiceOrderService - inventory-tools: Connected to PartService - customers-tools: Connected to CustomersService - products-tools: Connected to PartService (NEW) - sales-tools: Connected to AnalyticsService (NEW) - financial-tools: Connected to AnalyticsService (NEW) - fiados-tools: Mock (needs FiadosService) - branch-tools: Mock (single tenant) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| services | ||
| index.ts | ||