Spaces:
Runtime error
Runtime error
Commit History
-
feat: add smart validation for activation requirements with 6 new field types and auto-generated validation rules
dddd6c6
-
add unified project overview endpoint with caching and role-based response
19dd95f
-
feat: file naming
b26895a
-
feat: add phone number normalization utility and integrate into sales order processing
- Implemented `normalize_kenyan_phone` function in `phone_utils.py` to standardize Kenyan phone numbers to the format +254XXX. - Updated `sales_orders.py` to normalize customer and agent phone numbers during customer creation and duplicate checks. - Enhanced `SalesOrderService` to normalize phone numbers when updating sales orders and processing bulk imports.19753f0
-
feat: implement project dashboard with activity feed
- Add cachetools for in-memory caching (5-min TTL, no Redis needed) - Create comprehensive dashboard endpoint GET /projects/{project_id}/dashboard - Add activity feed endpoint GET /projects/{project_id}/activity-feed - Dashboard auto-adapts based on project_type (customer_service vs infrastructure) - Includes stats for tickets, sales orders, customers/tasks, expenses, team, finances, regions, notifications - Add cache invalidation hooks in ticket, sales order, and expense services - Performance optimized with caching, prevents DB overload on frequent dashboard viewsab19502
-
feat: org ids for clients and contractors inside swiftops
2b747fd
-
complete services
456b2e2
-
Iniital Commit
74de430