Commit Graph

11 Commits

Author SHA1 Message Date
Galindo97
af9be8d0b5 feat: Refine invoice report queries to handle empty concatenated transport data and adjust subpartida logic for peso calculation. 2026-02-24 09:23:07 -06:00
Galindo97
3898d3a1e0 feat: Enhance fixed asset class management with new fields, refactor forms, and update invoice-related services. 2026-02-24 08:17:38 -06:00
Galindo97
7b704e0744 feat: fix R1 pedimento duplication and improve invoice report exports
- Fix bidirectional R1 resolution in all report query builders (Temporary,
  Definitive, Repair, Export, ExportRepair): use JOIN on
  pedimento_rectification_origin in both directions so the rectified
  pedimento number is resolved correctly and not duplicated.
- Restore original CSV export format (ValorComercialMN, ValorMPTemp,
  ValorAgre as separate columns); compute them from item_line_financials
  SUM instead of invoice-level header totals which were always 0.
- Rename CSV column "PEDIMENTO RECTIFICACION" to "PEDIMENTO R1" in both
  backend csv_utils.py and frontend manual download.
- Harden temporary invoice update validator to safely handle null
  compliance_mx / logistics objects without crashing.
- Add R1 rectification fields (es_rectificacion, pedimento_original, etc.)
  to the pedimento other-data form and initialize their default state.
- Remove default companyId parameter from pedimentosApi methods to avoid
  hardcoded company ID 1.
- Minor: whitespace cleanup, error handler adjustments, keyboard manager
  fix.
2026-02-20 10:00:22 -06:00
Galindo97
893c154b85 feat: Enhance invoice form data handling with new fields and improve invoice report export filter logic and UI. 2026-02-09 12:57:20 -06:00
Galindo97
84b507fbba feat: Enhance invoice movement reports by refactoring CSV generation with a filter object, expanding exported fields, improving formatting, and enabling direct download in the frontend. 2026-02-06 17:57:58 -06:00
Galindo97
f3f763cd6d feat: Implement asynchronous invoice report generation with email delivery and frontend status polling. 2026-02-06 15:31:30 -06:00
Galindo97
264100e2ea feat: Implement detailed and normal report types for invoice movements, enhancing number formatting and API request handling. 2026-02-05 16:00:22 -06:00
Galindo97
7920b21654 refactor: streamline client and supplier information retrieval across invoice services 2026-02-03 15:49:40 -06:00
Galindo97
e7971d0d1d refactor: optimize provider and client information retrieval in invoice services 2026-02-03 10:38:36 -06:00
Galindo97
461f8ececb fix: update invoice type filtering for repair imports and exports 2026-01-30 18:03:41 -06:00
Galindo97
b8e25cd2e1 Refactor code structure for improved readability and maintainability 2026-01-30 10:55:29 -06:00