Commit Graph

542 Commits

Author SHA1 Message Date
1355bf34c4 feature/file-manager-user-only-read 2026-04-06 07:43:43 -06:00
9439a6a775 feature/minio-s3-integration 2026-04-02 13:35:18 -06:00
18e3c0a1bd Refactor invoice mapping logic in edit page to improve data handling. Updated the mapping of logistics and compliance fields to use optional chaining and default values, enhancing robustness and clarity in the invoice data structure. 2026-04-02 09:54:50 -05:00
1a01757c63 Merge branch 'development' into feature/validaciones-invoices-transports 2026-04-01 13:42:49 -06:00
e8b4cbd377 checkpoint 2026-04-01 13:40:46 -06:00
7a029307a8 feature/validaciones-invoices-transortes 2026-03-27 12:56:47 -06:00
b477233245 feature/migraciones-id-transportes 2026-03-27 09:32:59 -06:00
dd4eec56f8 Limpieza y correcion de warnings en ultimos cambios 2026-03-27 09:15:58 -05:00
d93c4c6b7b Mecanismo sort para tablas 2026-03-27 08:45:51 -05:00
85247e2713 fix/quitar-dato-empresa 2026-03-25 07:12:22 -06:00
65eec3c4d3 feature/table-celery-tasks-resume 2026-03-24 16:17:13 -06:00
b5b99a5ddb feature/tabla-bitacora-logs-task 2026-03-24 13:07:35 -06:00
5b2962d53b fix/bug-catalog-envoices-select-per-type 2026-03-24 09:32:49 -06:00
58222e9ca9 fix/pedimentos-edit-datos-borrados 2026-03-24 09:16:05 -06:00
0c090c0b1f Merge branch 'development' into feature/csv-pruebas 2026-03-24 08:08:32 -06:00
fbb24f2cd3 Refactor invoice financials to change iva_factor type from string to numeric
- Updated the `iva_factor` field in the `InvoiceFinancials` model to use a numeric type with precision and scale.
- Adjusted related frontend components and API interfaces to reflect the new numeric type for `iva_factor`.
- Enhanced Alembic migration scripts to accommodate the schema changes, ensuring proper index management and data type conversions.

These changes improve data integrity and consistency for financial calculations in invoices.
2026-03-23 09:48:33 -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
9e30dede1c checkpoint 2026-03-20 09:49:46 -06:00
cf56ca3a68 Enhance invoice processing and validation logic
- Updated `InvoiceService` to accurately reflect the number of line items in `party_count` for invoices.
- Modified weight calculations in the create and update validators to ensure consistent handling of weight types, now using lowercase comparison for "KGS".
- Adjusted invoice data structure in the frontend to include `total_items` and refined logistics handling.
- Improved table rendering in the invoice edit component for better sticky header behavior and item visibility.

These changes aim to improve data integrity and user experience in invoice management.
2026-03-19 14:22:21 -05:00
684bc25388 Merge pull request 'feature/partidas-impo-bug-fix' (#227) from feature/partidas-impo-bug-fix into development
Reviewed-on: ADUANASOFT/anexo76#227
2026-03-18 21:07:44 +00:00
cf080834ba Merge pull request 'feature/tablas_nuevas_partes_2' (#226) from feature/tablas_nuevas_partes_2 into development
Reviewed-on: ADUANASOFT/anexo76#226
2026-03-18 21:07:19 +00:00
97bc407531 feature/partidas-impo-bug-fix 2026-03-18 14:44:45 -06:00
4df61404de Se quito la relacion de las tablas de aphis de partes, se mejoro un poquito el frontend, se homogelizaron el disenio de los catalogos y mejoras visuales 2026-03-18 15:41:54 -05:00
c96685116b merge/development 2026-03-18 13:33:18 -06:00
0a68454593 6feature/fix-en-base-a-scaii 2026-03-18 13:22:45 -06:00
cc8a3582ba Merge branch 'development' into feature/catalog-importation 2026-03-18 13:40:33 -05:00
6741a85abc Se habia perdido el boton de extenioes pero ya lo encontre 2026-03-18 12:39:16 -05:00
b0cf46104b Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into feature/tablas_nuevas_partes 2026-03-18 11:03:26 -05:00
546b1ea56f Nuevo formulario de extension para partes SCAI con nuevas tablas de aphis con catalogos fijos nuevos 2026-03-18 10:50:36 -05:00
8b9537b5a9 feature/catalogo-equivalencias 2026-03-18 09:40:52 -06:00
b44b8e77ad Merge pull request 'feature/catalogo-conversiones' (#221) from feature/catalogo-conversiones into development
Reviewed-on: ADUANASOFT/anexo76#221
2026-03-18 14:59:43 +00:00
d37d6ef699 feature/catalog-importation 2026-03-18 08:28:20 -06:00
3e6cc07003 Merge branch 'feature/catalogo-conversiones' into feature/catalog-importation 2026-03-18 07:33:12 -06:00
431f484d80 feature/catalogo-conversiones 2026-03-18 07:29:27 -06: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
5265ec6849 Merge pull request 'feature/catalogo-pedimento' (#219) from feature/catalogo-pedimento into development
Reviewed-on: ADUANASOFT/anexo76#219
2026-03-18 03:53:00 +00:00
2c7e6f38da Merge pull request 'feature/client-provider-taxid-rfc-fix' (#218) from feature/client-provider-taxid-rfc-fix into development
Reviewed-on: ADUANASOFT/anexo76#218
2026-03-18 03:51:43 +00:00
10a37a1102 Merge branch 'development' into feature/item_por_tipo_factura 2026-03-17 22:50:56 -05:00
35c7584656 Merge branch 'main' into development 2026-03-17 22:48:18 -05:00
3983c9e4b3 feature/catalogo-pedimento 2026-03-17 16:35:27 -06:00
adfa82c707 Valores extendidos para partes 2026-03-17 16:57:03 -05:00
3eacbf18f2 Refactor 'download' field to 'discharge' across models and services
- Renamed the 'download' field to 'discharge' in the FaLineItem model and updated related services and schemas accordingly.
- Adjusted frontend components to reflect the new 'discharge' terminology.
- Ensured consistency in filtering and validation logic across the application to use the updated field name.
2026-03-17 16:25:23 -05:00
e326ac0f0a feature/client-provider-taxid-rfc-fix 2026-03-17 15:08:02 -06:00
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
d178ea34fa formulario de items en por tipo de factura: exportaciones y reparaciones de exportacion 2026-03-17 09:26:52 -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
63cbdf2124 Importacion de reparacion 2026-03-13 17:56:15 -05: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