Commit Graph

3 Commits

Author SHA1 Message Date
Adrian Flores Cortes
d94a84593f [SYNC] feat: Add audit, MFA, and feature flags modules
- Add audit controller, routes, middleware and services
- Add MFA controller, routes and services
- Add feature flags module with controllers, DTOs, middleware and services
- Update auth, financial, inventory entities
- Update package.json dependencies

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 08:02:18 -06:00
Adrian Flores Cortes
95c6b58449 feat: Add base modules from erp-core following SIMCO-REUSE directive
Phase 0 - Base modules (100% copy):
- shared/ (errors, middleware, services, utils, types)
- auth, users, tenants (multi-tenancy)
- ai, audit, notifications, mcp, payment-terminals
- billing-usage, branches, companies, core

Phase 1 - Modules to adapt (70-95%):
- partners (for shippers/consignees)
- inventory (for refacciones)
- financial (for transport costing)

Phase 2 - Pattern modules (50-70%):
- ordenes-transporte (from sales)
- gestion-flota (from products)
- viajes (from projects)

Phase 3 - New transport-specific modules:
- tracking (GPS, events, alerts)
- tarifas-transporte (pricing, surcharges)
- combustible-gastos (fuel, tolls, expenses)
- carta-porte (CFDI complement 3.1)

Estimated token savings: ~65% (~10,675 lines)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 10:10:19 -06:00
Adrian Flores Cortes
2f76d541d2 feat: Initial backend structure for ERP Transportistas
- NestJS 10.x configuration
- TypeScript setup with path aliases
- Environment configuration template
- Integration config for GPS, PAC, Maps

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 09:51:22 -06:00