Commit Graph

268 Commits

Author SHA1 Message Date
hreyes
fbbe4370de feature/refactorizacion-tabla-sector 2026-03-17 11:21:28 -06:00
2e5812fb1b Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/item_por_tipo_factura 2026-03-17 09:30:11 -05:00
AlexeerCT
6fa461991f Implement invoice revert functionality and enhance progress tracking
- Added a new route for reverting invoices in the A76 module.
- Updated the pre_validators to provide clearer error messages when processing invoices.
- Enhanced the PDF progress dialog to support step-by-step progress tracking for both invoice processing and reverting.
- Introduced a confirmation dialog for reverting invoices in the dashboard.
- Updated frontend components to handle the new revert functionality and display appropriate progress messages.
2026-03-15 22:34:11 -06:00
AlexeerCT
a4cf394447 Update Docker Compose files for production environment and enhance unit of measure handling
- Changed the default environment variable from 'development' to 'production' in docker-compose.prod.yml and docker-compose.yml.
- Added SITAR API credentials to the environment variables in both Docker Compose files.
- Updated the seed data for customs units of measure to include a76_unit_code.
- Refactored the UnitOfMeasureCustoms model and related DTOs to replace scaii_unit_code with a76_unit_code for consistency.
- Adjusted frontend components to reflect the updated unit of measure structure and ensure proper handling of the new a76_unit_code field.
2026-03-15 20:52:01 -06:00
AlexeerCT
ef5564dd25 Refactor Dockerfile and update models and frontend components
- Removed the APP_VERSION argument from the Dockerfile and added TARGETARCH for architecture-specific wkhtmltopdf installation.
- Updated models.py to reintroduce the import of PartCountry for consistency.
- Enhanced parts.ts interface by adding new optional fields: immex_type, disable_movements, pga_program_code, non_discharge_clients, bom_items, and countries.
- Changed formType default in partForm.svelte and edit page to 'fa' for better alignment with the intended functionality.
- Improved type handling for non_discharge_clients in partForm.svelte.
- Adjusted column span logic in partForm.svelte for better rendering.
- Fixed image error handling in partForm.svelte for improved user experience.
- Updated license expiration date calculation in init_first_time.sh for compatibility with macOS.
2026-03-13 16:53:42 -06:00
dada17b54c Partidas por tipo de factura en importacion 2026-03-13 17:38:30 -05:00
a74e1d746c Update depreciation_date field type in models and schemas
- Changed the type of the depreciation_date field from Optional[int] to Optional[datetime] in the LineItem model and LineItemBase schema for improved accuracy in date representation.
- Updated the frontend interface to reflect the change, altering depreciation_date from number to string to accommodate the new datetime format.
2026-03-13 13:32:47 -05:00
4f200de5ef Refactor invoice status terminology and update related logic
- Renamed 'is_processed' fields to 'status' in the InvoiceHeader model and updated corresponding attributes in schemas, services, and frontend components for consistency.
- Adjusted query filters and validation logic to reflect the new 'status' terminology.
- Updated comments and documentation to clarify changes in invoice status handling.
2026-03-13 12:54:58 -05:00
326f4019a2 Refactor invoice processing fields and update related logic
- Renamed fields in the `InvoiceHeader` model from `is_updated` to `is_processed` and updated corresponding attributes in schemas, services, and frontend components.
- Adjusted query filters and validation logic to reflect the new processing status.
- Updated comments and documentation to ensure clarity regarding the changes in invoice status handling.
2026-03-13 12:36:41 -05:00
5a6fbcf182 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/partePais_BOM 2026-03-13 11:13:44 -05:00
bf954bbdef Merge remote-tracking branch 'origin/development' into feature/process-invoices 2026-03-13 11:06:03 -05:00
ccd81d743e Add invoice processing functionality and enhance models and routes
- Introduced new routes for processing invoices in the router.
- Added `InvoiceStatus` enum to manage invoice states.
- Enhanced `InvoiceHeader` and `InvoiceFinancials` models with new fields for status tracking and total packages.
- Updated schemas to include new fields for invoice processing.
- Implemented API methods for processing invoices and checking process status in the frontend.
- Removed outdated validation files related to invoice processing.
2026-03-13 11:02:49 -05:00
2b0caeb251 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/partePais_BOM 2026-03-13 10:59:03 -05:00
hreyes
8d304fb98b feature/continuacion-vista-tablas-location 2026-03-12 16:17:01 -06:00
hreyes
678f91ecdc feature/checkpoin-before-table 2026-03-12 12:54:33 -06:00
hreyes
a57b01b190 feature/items-ventana-por-tipo-factura 2026-03-12 07:27:00 -06:00
9f3ae8db42 Partidas BOM y partes para SCAI 2026-03-11 11:11:36 -05:00
hreyes
003d0d54d3 feature/pestana-series-en-partidas 2026-03-11 09:52:15 -06:00
ac8c45ec18 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/saldos_temporales 2026-03-06 16:10:30 -06:00
be3150b53c genracion de reportes por saldos temporales 2026-03-06 16:09:45 -06:00
hreyes
3175383442 feature/catalogo-driver 2026-03-06 09:52:20 -07:00
d72edda61c Generacion de archivos winsaai 2026-03-03 09:08:49 -06:00
cfcf5009fd Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into development 2026-02-26 12:37:29 -06:00
7289947e48 Resolucion de conflictos: Merge feature/boton_ayuda a development 2026-02-26 12:34:38 -06:00
fce8486a17 Fix duplicate identifiers in pedimentos.ts API 2026-02-26 12:34:07 -06:00
ee4cfcc7e5 Merge origin/development into fix/bug-pedimento 2026-02-26 12:27:02 -06:00
2b6f9a636d Merge pull request 'feat: Implement CRUD and UI for transportation entities (vehicles, trailers, and transporters).' (#165) from feature/modulos-transporte into development
Reviewed-on: ADUANASOFT/anexo76#165
2026-02-26 17:55:51 +00:00
0dc8886a8f Merge pull request 'fix(customs-brokers): update VU and personnel for multi-tenancy support' (#163) from hot-fix/customs-brokers-vu-multitenant into development
Reviewed-on: ADUANASOFT/anexo76#163
2026-02-26 17:54:44 +00:00
Galindo97
750130ac8e feat: Implement CRUD and UI for transportation entities (vehicles, trailers, and transporters). 2026-02-26 11:40:55 -06:00
Galindo97
72db67e161 feat: Introduce customs office and transport means fields to pedimento data models and forms. 2026-02-25 11:41:35 -06:00
e4d4d0cce6 Puestas de seguridad y limpieza de codigo 2026-02-25 10:34:11 -06:00
Galindo97
899a5c4d58 fix(pedimentos): various fixes and improvements for pedimento processing and reports 2026-02-25 09:16:42 -06:00
Galindo97
980c913d46 fix(customs-brokers): update VU and personnel for multi-tenancy support 2026-02-24 17:47:42 -06:00
ccb643426d Merge pull request 'feat: Implement Ventanilla Única (VU) management for customs brokers, including API, UI, and data model updates, and add a new state selection dialog.' (#161) from feature/broker-catalogue into development
Reviewed-on: ADUANASOFT/anexo76#161
2026-02-24 21:40:32 +00:00
Galindo97
a52602dedf feat: Implement Ventanilla Única (VU) management for customs brokers, including API, UI, and data model updates, and add a new state selection dialog. 2026-02-24 14:24:50 -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
09c806b4f5 Nuevo forntend con datos multimedia 2026-02-23 17:44:33 -06:00
Galindo97
f9f6a17c4a fix: remove duplicate certificate fields in Company interface 2026-02-20 10:12:42 -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
15f6f488bf Merge remote-tracking branch 'origin/development' into feature/trasnferencia_mainx30 2026-02-20 09:31:13 -06:00
dc37f458f5 Merge remote-tracking branch 'origin/development' into feature/fraction-catalogs 2026-02-19 17:22:37 -06:00
bcc758953f Nueva funcionalidad 2026-02-19 11:34:03 -06:00
fbce3efe5f feat: add financial calculations for multiple currencies and enhance summary section with customs values 2026-02-19 08:36:54 -06:00
62315e5b24 Implementacion de sistema distribuido de boton de ayuda 2026-02-18 14:25:24 -06:00
Galindo97
c29dd299bc feat: Add company certificate upload API and fields, and remove purchase order and delivery date from invoice mapping. 2026-02-18 11:08:57 -06:00
Galindo97
f19f051e59 Merge branch 'development' into feature/Invoice-movements 2026-02-18 10:20:45 -06:00
b94d0ac7fb refactor: restructure item interfaces and update related components
- Renamed LineItem interface to Item and adjusted properties accordingly.
- Updated CreateItemData and UpdateItemData interfaces to reflect new structure.
- Modified components to use the new Item interface, removing nested lines.
- Adjusted data binding in item configuration, main data, and other related components.
- Simplified item creation and editing logic by removing unnecessary nesting.
- Ensured all references to line items are updated to reflect the new structure.
2026-02-18 09:56:50 -06:00
Galindo97
2c3a2735db feat: Implement company certificate upload endpoint and enhance company data extraction in the service layer. 2026-02-18 09:46:00 -06:00
Galindo97
95940ed91e feat: Add dialog for creating and editing historical tariff fractions and implement deterministic sorting for fraction listings. 2026-02-17 12:51:47 -06:00