Commit Graph

104 Commits

Author SHA1 Message Date
ca21cdf58d feat: Implement token issue detection and enhance license validation middleware; add tests for token issue message detection 2026-04-26 08:25:53 -05:00
5ac757dbc1 chore: snapshot before development sync 2026-04-24 11:18:06 -05:00
d3676aa8ed Refactor code structure for improved readability and maintainability 2026-04-06 08:54:05 -05:00
4bc38b691f Add APP_VERSION handling in Dockerfile and config.py
Updated the Dockerfile to include an ARG and ENV for APP_VERSION, allowing for version specification during build time. Modified config.py to set a default APP_VERSION, which can be overridden by the environment, enhancing flexibility for deployment and runtime configuration.
2026-04-02 11:31:00 -05:00
26977b881a Merge branch 'development' into feature/table-celery-tasks 2026-03-25 07:15:31 -06:00
c565696242 feature/limpieza-periodica 2026-03-24 16:58:48 -06:00
18e4477bf1 Add TEST_DATABASE_URL to configuration settings
- Introduced a new configuration variable, TEST_DATABASE_URL, to specify the test database connection string.
- This addition enhances the flexibility of database handling, particularly for testing scenarios, aligning with recent improvements in database URL management.
2026-03-24 15:35:13 -05:00
23509cbcc9 Refactor DTO classes to use model_config with ConfigDict for attribute handling
- Updated multiple DTO classes across various modules to replace the `Config` class with `model_config = ConfigDict(from_attributes=True)`.
- This change enhances consistency in attribute handling and aligns with the latest Pydantic practices.
- Adjusted error handling in core modules to change status codes from `HTTP_422_UNPROCESSABLE_ENTITY` to `HTTP_422_UNPROCESSABLE_CONTENT` for improved clarity in validation responses.
2026-03-24 12:06:55 -05:00
54c137c156 Refactor invoice processing logic to remove legacy returned quantity fields and enhance data handling
- Updated invoice processing functions to eliminate legacy fields related to returned quantities, now relying on new balance movement and discharge records.
- Adjusted various components and services to reflect changes in quantity handling, including updates to the frontend for displaying used quantities instead of returned ones.
- Improved the logic for invoice total updates and validation processes to ensure consistency with the new data structure.

These changes aim to streamline invoice management and improve data integrity across the application.
2026-03-20 11:42:18 -05:00
2a861e480c Enhance invoice and item processing with balance tracking features
- Added `company_id` to `ClientProviderAddress` and `ClientProviderPrograms` for better association.
- Updated `_process_with_discharge` to simplify invoice review by removing redundant parameters.
- Improved `pre_validators` to ensure address validation checks for existence before accessing country.
- Enhanced balance comparison logic in `compare_balances` by tracking consumed quantities.
- Modified `fill_available_balances` to reflect invoice status changes from 'UNPROCESSED' to 'PENDING'.
- Introduced `get_lines_with_balance` method in `ItemService` to fetch invoice lines with available balance.
- Added new API endpoint to retrieve import invoice lines with balance information.
- Updated frontend components to display available balances and improve user experience in invoice selection.
2026-03-18 00:55:17 -05:00
hreyes
20a351c475 Merge branch 'development' into feature/validaciones-parts
# Conflicts:
#	frontend/src/lib/components/dashboard/goods/parts/partForm.svelte
2026-03-17 09:35:29 -06:00
hreyes
8a0c67d452 WIP: mover cambios desde development 2026-03-17 09:27:03 -06: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
5a6fbcf182 Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/partePais_BOM 2026-03-13 11:13:44 -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
9f3ae8db42 Partidas BOM y partes para SCAI 2026-03-11 11:11:36 -05: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
3cd88c199b feature/validaciones-clarion-csv-transportistas 2026-03-06 13:13:46 -07:00
hreyes
8cd299609c Merge branch 'development' into feature/catalog-drivers 2026-03-06 10:14:55 -07:00
fa0a394bbd Merge pull request 'fix/agentes_aduanales_regex' (#190) from fix/agentes_aduanales_regex into development
Reviewed-on: ADUANASOFT/anexo76#190
2026-03-06 15:52:48 +00:00
hreyes
34071cba86 feature/ambio-regimen-regularizacion 2026-03-05 12:26:08 -07:00
hreyes
0dfb7d2237 feature/csv-expo 2026-03-05 12:01:24 -07:00
hreyes
9c3e6827da Merge branch 'development' into feature/clarion-validations-csv-pedimentos 2026-03-05 11:36:39 -07:00
bc2f2c3c6e Merge branch 'development' into task/archivos_winsaai 2026-03-05 08:19:07 -06:00
a77761f2e5 Enmascaramiento y regax para datos sensibles en los agentes aduanales 2026-03-04 10:41:37 -06:00
hreyes
4c781b460a feature/layouts-csv-refact 2026-03-03 16:45:12 -07:00
hreyes
9da84990a8 feature/BOMs-csv-WIP 2026-03-03 09:54:12 -07:00
hreyes
343054d274 feature/csv-partes 2026-03-03 09:09:14 -07:00
d49d2d68c3 Correccion de conflictos en celery 2026-03-03 09:16:58 -06:00
fb0c09374a feat: Implement help center functionality and transportation general catalogs with associated UI components and API endpoints. 2026-03-03 09:12:10 -06:00
d72edda61c Generacion de archivos winsaai 2026-03-03 09:08:49 -06:00
hreyes
54e4124c6e Merge branch 'feature/csv-cajas-trailers' into feature/faltantes-csv 2026-03-03 07:59:02 -07:00
7c6376445f Merge pull request 'feat: Implement CRUD operations for FDA catalog entries and their associated specifications, constituent elements, affirmation codes, and lot productions.' (#176) from feature/FDA into development
Reviewed-on: ADUANASOFT/anexo76#176
2026-03-03 14:19:42 +00: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
629754cc8f feature/csv-trasportes 2026-03-02 13:01:15 -07:00
hreyes
2d05ea23cf feature/csv-clases-materiales 2026-03-02 11:33:51 -07:00
hreyes
9473c05602 feature/csv-pedimento 2026-03-02 10:03:45 -07:00
hreyes
442b188a45 feature/csv-fracc-ame 2026-03-02 07:49:53 -07:00
hreyes
e5e1287a6b feature/csv-exchage-rate 2026-03-02 07:24:09 -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
dbffc95e67 Correcion de yml y los script 2026-02-26 18:03:14 -06:00
7289947e48 Resolucion de conflictos: Merge feature/boton_ayuda a development 2026-02-26 12:34:38 -06:00
e4d4d0cce6 Puestas de seguridad y limpieza de codigo 2026-02-25 10:34:11 -06:00
hreyes
4a8bea4966 feature/csv-client-provider 2026-02-24 08:31:32 -06:00
hreyes
e8e3774758 feature/carga-agententes-aduanales-via-csv 2026-02-23 14:22:46 -06: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