Files
mexus-app/prisma
Mexus e964e8f0b5 feat: Add catalog import and progress tracking features
1. Catalog Import (Generadores de Precios):
   - ImportacionCatalogo model for tracking import history
   - POST /api/importar - Process Excel/CSV files
   - GET /api/importar - List import history
   - ImportadorCatalogo component with:
     - Template download for materials, labor, equipment
     - Auto unit mapping (PZA→PIEZA, M2→METRO_CUADRADO, etc.)
     - FSR auto-calculation for labor imports
     - Import history view

2. Progress Tracking (Control de Avance por Partida):
   - AvancePartida model with quantity, percentage, amount tracking
   - CRUD API endpoints for avances
   - GET /api/avances/resumen - Summary per presupuesto
   - ControlAvancePartidas component with:
     - Global progress summary cards
     - Per-partida progress table with bars
     - Register progress dialog
     - Auto-calculation of accumulated values

3. Bug fixes:
   - ClientDate component to fix hydration mismatch errors
   - Date formatting now consistent between server and client

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 09:00:36 +00:00
..
2026-01-19 01:10:55 +00:00