erp-transportistas-backend-v2/src/modules
Adrian Flores Cortes 48bb0c8d58 [MAI-002] feat: Implement tarifas transport service with cost calculation
- Add TarifasService with findTarifaByLane, calcularCostoEnvio methods
- Create RecargosService for surcharge catalog and fuel surcharge
- Add TarifasController with full REST API for tarifas, lanes, recargos
- Implement DTOs with class-validator decorators
- Support lane-based tariff lookup with fallback to generic
- Calculate shipping cost with fuel surcharge, insurance, and other recargos
- Include peso/volumen calculation with volumetric factor (1m3=250kg)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 02:51:05 -06:00
..
ai fix: Resolve 126 TypeScript errors (TASK-2026-01-27-005) 2026-01-27 10:12:08 -06:00
audit feat: Add base modules from erp-core following SIMCO-REUSE directive 2026-01-25 10:10:19 -06:00
auth feat: P2+P3 - Tests y servicios faltantes (TASK-006) 2026-01-27 12:17:13 -06:00
billing-usage fix: Resolve TypeScript errors from propagation 2026-01-27 09:14:16 -06:00
biometrics/entities feat: Propagate entities from erp-construccion 2026-01-27 09:06:31 -06:00
branches feat: Add base modules from erp-core following SIMCO-REUSE directive 2026-01-25 10:10:19 -06:00
carta-porte feat: P2+P3 - Tests y servicios faltantes (TASK-006) 2026-01-27 12:17:13 -06:00
combustible-gastos feat: P2+P3 - Tests y servicios faltantes (TASK-006) 2026-01-27 12:17:13 -06:00
companies feat: Add base modules from erp-core following SIMCO-REUSE directive 2026-01-25 10:10:19 -06:00
core fix: Resolve TypeScript errors from propagation 2026-01-27 09:14:16 -06:00
dispatch [WORKSPACE] feat: Add dispatch, gps, offline and whatsapp modules 2026-01-29 17:57:14 -06:00
feature-flags/entities feat: Propagate entities from erp-construccion 2026-01-27 09:06:31 -06:00
financial fix: Resolve 126 TypeScript errors (TASK-2026-01-27-005) 2026-01-27 10:12:08 -06:00
fiscal fix(entities): Update transport entities and services for TypeScript compatibility 2026-01-25 14:46:02 -06:00
gestion-flota [SPRINT-4] feat: Transport and fleet management services 2026-02-03 01:36:00 -06:00
gps [WORKSPACE] feat: Add dispatch, gps, offline and whatsapp modules 2026-01-29 17:57:14 -06:00
hr feat: P2+P3 - Tests y servicios faltantes (TASK-006) 2026-01-27 12:17:13 -06:00
inventory fix: Resolve 126 TypeScript errors (TASK-2026-01-27-005) 2026-01-27 10:12:08 -06:00
invoices/entities feat: Propagate entities from erp-construccion 2026-01-27 09:06:31 -06:00
mcp fix: Resolve 126 TypeScript errors (TASK-2026-01-27-005) 2026-01-27 10:12:08 -06:00
notifications feat: Add base modules from erp-core following SIMCO-REUSE directive 2026-01-25 10:10:19 -06:00
offline [WORKSPACE] feat: Add dispatch, gps, offline and whatsapp modules 2026-01-29 17:57:14 -06:00
ordenes-transporte [SPRINT-4] feat: Transport and fleet management services 2026-02-03 01:36:00 -06:00
partners fix: Resolve 126 TypeScript errors (TASK-2026-01-27-005) 2026-01-27 10:12:08 -06:00
payment-terminals fix: Resolve 126 TypeScript errors (TASK-2026-01-27-005) 2026-01-27 10:12:08 -06:00
products/entities feat: Propagate entities from erp-construccion 2026-01-27 09:06:31 -06:00
profiles/entities feat: Propagate entities from erp-construccion 2026-01-27 09:06:31 -06:00
projects/entities feat: Propagate entities from erp-construccion 2026-01-27 09:06:31 -06:00
purchase/entities fix: Resolve TypeScript errors from propagation 2026-01-27 09:14:16 -06:00
reports feat: P2+P3 - Tests y servicios faltantes (TASK-006) 2026-01-27 12:17:13 -06:00
sales/entities feat: Propagate entities from erp-construccion 2026-01-27 09:06:31 -06:00
settings/entities feat: Propagate entities from erp-construccion 2026-01-27 09:06:31 -06:00
storage/entities feat: Propagate entities from erp-construccion 2026-01-27 09:06:31 -06:00
tarifas-transporte [MAI-002] feat: Implement tarifas transport service with cost calculation 2026-02-03 02:51:05 -06:00
tenants feat: Add base modules from erp-core following SIMCO-REUSE directive 2026-01-25 10:10:19 -06:00
tracking [WORKSPACE] feat: Add dispatch, gps, offline and whatsapp modules 2026-01-29 17:57:14 -06:00
users feat: Add base modules from erp-core following SIMCO-REUSE directive 2026-01-25 10:10:19 -06:00
viajes [SPRINT-4] feat: Transport and fleet management services 2026-02-03 01:36:00 -06:00
warehouses/entities feat: Propagate entities from erp-construccion 2026-01-27 09:06:31 -06:00
webhooks/entities feat: Propagate entities from erp-construccion 2026-01-27 09:06:31 -06:00
whatsapp [WORKSPACE] feat: Add dispatch, gps, offline and whatsapp modules 2026-01-29 17:57:14 -06:00