Commit Graph

991 Commits

Author SHA1 Message Date
hreyes
8a0c67d452 WIP: mover cambios desde development 2026-03-17 09:27:03 -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
d178ea34fa formulario de items en por tipo de factura: exportaciones y reparaciones de exportacion 2026-03-17 09:26:52 -05:00
5a619e8bc4 Merge pull request 'fix/invoice-process' (#213) from fix/invoice-process into development
Reviewed-on: ADUANASOFT/anexo76#213
2026-03-17 14:15:48 +00: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
63cbdf2124 Importacion de reparacion 2026-03-13 17:56:15 -05:00
44e621c36d Merge pull request 'Refactor Dockerfile and update models and frontend components' (#212) from fix/parts into development
Reviewed-on: ADUANASOFT/anexo76#212
2026-03-13 22:56:04 +00: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
dfa44aaff7 Merge pull request 'Update depreciation_date field type to Date in LineItem model' (#211) from hot-fix/depreciacion_date into development
Reviewed-on: ADUANASOFT/anexo76#211
2026-03-13 18:37:47 +00:00
795786a043 Update depreciation_date field type to Date in LineItem model
- Changed the type of the depreciation_date field from Integer to Date in the LineItem model to enhance date accuracy and compliance with SQLAlchemy v2 standards.
2026-03-13 13:37:00 -05:00
999c70eef4 Merge pull request 'Update depreciation_date field type in models and schemas' (#210) from hot-fix/depreciacion_date into development
Reviewed-on: ADUANASOFT/anexo76#210
2026-03-13 18:33:16 +00: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
8ad5dd7f41 Merge pull request 'Update subitem_number assignment in calculations.py' (#209) from fix/is_updated into development
Reviewed-on: ADUANASOFT/anexo76#209
2026-03-13 18:27:22 +00:00
00b538f896 Update subitem_number assignment in calculations.py
- Changed the assignment of subitem_number from None to 0 in the apply_calculations_after_values function to ensure consistent initialization of subitem data during calculations.
2026-03-13 13:26:44 -05:00
b28c76597e Merge pull request 'Update subitem_number default value in FaLineItemCreateDTO' (#208) from fix/is_updated into development
Reviewed-on: ADUANASOFT/anexo76#208
2026-03-13 18:19:43 +00:00
567359ef6f Update subitem_number default value in FaLineItemCreateDTO
- Changed the default value of the subitem_number field from None to 0 in the FaLineItemCreateDTO class to ensure a more consistent initialization of subitem data.
2026-03-13 13:19:12 -05:00
ba2fd20749 Merge pull request 'Update invoice processing terminology from 'who_updated' to 'who_processed'' (#207) from fix/is_updated into development
Reviewed-on: ADUANASOFT/anexo76#207
2026-03-13 18:03:08 +00:00
e3d4686abe Update invoice processing terminology from 'who_updated' to 'who_processed'
- Renamed instances of 'who_updated' to 'who_processed' in the InvoiceService and related tasks to enhance clarity and consistency in invoice processing.
- Adjusted comments and documentation to reflect the updated terminology across various modules, ensuring alignment with recent changes in invoice status handling.
2026-03-13 13:02:35 -05:00
eb86c7b56d Merge pull request 'Refactor invoice status terminology and update related logic' (#206) from fix/is_updated into development
Reviewed-on: ADUANASOFT/anexo76#206
2026-03-13 17:57:07 +00: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
f628e0d3bd Merge pull request 'Refactor invoice status handling to use 'processed' terminology' (#205) from fix/is_updated into development
Reviewed-on: ADUANASOFT/anexo76#205
2026-03-13 17:44:53 +00:00
5522fbb0b9 Refactor invoice status handling to use 'processed' terminology
- Renamed instances of 'invoice_updated' to 'invoice_processed' across various modules to improve clarity and consistency in invoice status management.
- Updated validation and processing logic to reflect the new terminology, ensuring that all references are aligned with the recent changes in the invoice processing model.
- Adjusted related functions and validation checks to maintain functionality and accuracy in invoice processing workflows.
2026-03-13 12:44:07 -05:00
90389849c6 Merge pull request 'Refactor invoice processing fields and update related logic' (#204) from fix/is_updated into development
Reviewed-on: ADUANASOFT/anexo76#204
2026-03-13 17:37:28 +00: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
708ce99136 Merge pull request 'feature/partePais_BOM' (#203) from feature/partePais_BOM into development
Reviewed-on: ADUANASOFT/anexo76#203
2026-03-13 16:54:16 +00:00
5a6fbcf182 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/partePais_BOM 2026-03-13 11:13:44 -05:00
57a55c7f00 Enhance invoice processing features and update related models
- Improved invoice processing logic and added new validation checks.
- Updated `InvoiceHeader` and `InvoiceFinancials` models to support additional data fields.
- Refined API methods for better handling of invoice statuses and error responses.
- Cleaned up deprecated code related to previous invoice processing implementations.
2026-03-13 11:12:52 -05:00
9c4d8f1975 Camabio en los regsitros de SCAI o SCAF para la columna cliente 2026-03-13 11:08:10 -05:00
1cae798638 Merge pull request 'feature/process-invoices' (#202) from feature/process-invoices into development
Reviewed-on: ADUANASOFT/anexo76#202
2026-03-13 16:06:44 +00:00
bf954bbdef Merge remote-tracking branch 'origin/development' into feature/process-invoices 2026-03-13 11:06:03 -05:00
513beccc8a Merge pull request 'feature/items-ventana-por-tipo-factura' (#201) from feature/items-ventana-por-tipo-factura into development
Reviewed-on: ADUANASOFT/anexo76#201
2026-03-13 16:05:08 +00: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
d6deed1446 BOM y PAIS para SCAI reactivo 2026-03-13 10:53:14 -05:00
hreyes
4a52e9ec98 feature/visibility-comp-mex 2026-03-13 08:32:29 -06: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
e1d4ef4a68 feature/correccion-de-carga-csv-falta-de-datos-fk 2026-03-12 11:41:11 -06:00
6099b9c873 Merge branch 'development' into feature/process-invoices 2026-03-12 10:52:17 -05:00
6aef35337e Refactor router imports for clarity and organization 2026-03-12 09:34:00 -05:00
99a79287ad Implement CountryRuleOct and FractionRuleOctave models, DTOs, routes, services, and tests 2026-03-12 09:32:27 -05:00
hreyes
a57b01b190 feature/items-ventana-por-tipo-factura 2026-03-12 07:27:00 -06:00
0bae0e4d13 Merge pull request 'feature/filtro-pedimentos-tipo-invoices' (#200) from feature/filtro-pedimentos-tipo-invoices into development
Reviewed-on: ADUANASOFT/anexo76#200
2026-03-11 16:44:20 +00:00
hreyes
5b4dabb72a feature/filtro-pedimentos-tipo-invoices 2026-03-11 10:40:41 -06:00
9f3ae8db42 Partidas BOM y partes para SCAI 2026-03-11 11:11:36 -05:00
0416264fe9 Merge pull request 'feature/items-validations' (#199) from feature/items-validations into development
Reviewed-on: ADUANASOFT/anexo76#199
2026-03-11 16:10:31 +00:00
ff08994620 Merge pull request 'feature/pestana-series-en-partidas' (#198) from feature/pestana-series-en-partidas into development
Reviewed-on: ADUANASOFT/anexo76#198
2026-03-11 16:09:43 +00:00
hreyes
003d0d54d3 feature/pestana-series-en-partidas 2026-03-11 09:52:15 -06:00