Commit Graph

10 Commits

Author SHA1 Message Date
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
hreyes
1307760dbb fix/focus-nav-bug 2026-02-11 12:04:03 -06:00
60cea56370 fix/tabs-f1-scroll 2026-02-06 08:42:46 -06:00
hreyes
d3d42bb0fa feature/nav-tab-general-catalog 2026-02-05 16:29:18 -06:00
hreyes
4cc613d1df checkpoint/backup-fail-server 2026-02-05 12:35:03 -06:00
hreyes
8e53293e62 feature/nav-tab-fix-routes 2026-02-04 16:52:23 -06:00
hreyes
cbc3542ead feature/nav-tab-items-nav-tables 2026-02-04 11:40:12 -06:00
hreyes
0dd9f96f5b feature/nav-tab-pediments-and-goods 2026-02-03 16:16:30 -06:00
hreyes
b7a99d7393 Feature/Integracion de navegacion free mouse a pedimentos 2026-02-03 13:27:06 -06:00
hreyes
78adde9737 Feature/Integracion de nasvegacion free mouse para goods 2026-02-03 12:03:41 -06:00