Commit Graph

12 Commits

Author SHA1 Message Date
hreyes
54e4124c6e Merge branch 'feature/csv-cajas-trailers' into feature/faltantes-csv 2026-03-03 07:59:02 -07:00
dc4256ae7a feat: Implement CRUD operations for FDA catalog entries and their associated specifications, constituent elements, affirmation codes, and lot productions. 2026-03-02 16:47:07 -07:00
hreyes
6026132db3 Merge origin/development: resolved conflicts in scripts/init_first_time.sh, backend/api/v1/modules/a76/invoices/services.py, .gitignore and others 2026-02-27 11:46:16 -07:00
hreyes
cde583315b Merge development 2026-02-23 13:12:49 -06:00
hreyes
0683aaa801 feature/csv-for-envoices 2026-02-23 13:05:02 -06:00
Galindo97
af99e43ee5 Merge remote-tracking branch 'origin/development' into feature/Invoice-movements
# Conflicts:
#	backend/api/v1/modules/a76/reports/importacion/facturas/usa/service.py
#	backend/core/celery_app.py
#	frontend/src/lib/api/dashboard/a76/general_catalogs/company.ts
2026-02-20 10:09:19 -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
e6ef5c9094 feat: enhance error handling with custom HTTP exception responses and middleware improvements 2026-02-16 13:18:42 -06:00
47c4984d3f Se integro la plantilla de aviso de consolidado 2026-01-29 08:56:25 -06:00
AlexeerCT
d276909488 refactor: remove console.log statements and unnecessary logging in various components 2026-01-11 00:00:45 -06:00
AlexeerCT
887cbfa5ce feat: enhance invoice validation and error handling with detailed messages 2026-01-10 23:42:05 -06:00
AlexeerCT
9fe07e78a6 feat: refactor invoice compliance fields to use foreign keys and enhance validation logic 2026-01-06 18:01:26 -06:00