Commit Graph

63 Commits

Author SHA1 Message Date
a9523853c9 Merge pull request 'feature/carril-expres-transportes' (#315) from feature/carril-expres-transportes into development
Reviewed-on: ADUANASOFT/anexo76#315
2026-04-24 21:49:44 +00:00
9d63b000bc Refactor Docker entrypoints and remove unused scripts
- Removed custom entrypoint scripts for backend, frontend, and PostgreSQL services from docker-compose files.
- Added a new entrypoint script in the backend and frontend Dockerfiles to handle initialization without relying on host-mounted scripts.
- Updated Dockerfiles to ensure proper permissions for the new entrypoint scripts.
- Enhanced database initialization logic by moving schema and extension creation to the Alembic migration script.
2026-04-24 12:53:11 -05:00
38d10e6f51 feature/carril-expres-transportes 2026-04-24 09:18:41 -06:00
29c305cd2c feaature/catalogo-empresa-mejoras 2026-04-23 14:28:56 -06:00
ff1ff30e23 fix/conceptos-catalogo-general 2026-04-22 07:44:07 -06:00
1cd81ebc03 feature/digitalizacion-api 2026-04-20 15:13:48 -06:00
129608bb31 feature/digitalizacion-api 2026-04-17 15:59:47 -06:00
db46237a3e Poniendo como ultima actulaizacion nuestra migracion 2026-04-07 16:43:13 -05:00
a6e0a04451 Mezlca de migraciones mas recientes 2026-04-07 16:13:01 -05:00
9439a6a775 feature/minio-s3-integration 2026-04-02 13:35:18 -06:00
4541629b3f Parametros generales SCAII, con endpint y con la mayoria de pestanias hechas y funcionalaes 2026-03-30 13:05:21 -05:00
b477233245 feature/migraciones-id-transportes 2026-03-27 09:32:59 -06:00
3d1c73565f fix/un-alembic 2026-03-24 13:15:15 -06:00
b5b99a5ddb feature/tabla-bitacora-logs-task 2026-03-24 13:07:35 -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
37920aa303 se arreglo los furmularios de partes 2026-03-19 12:49:16 -05:00
03f2213729 Update seed_initial_data.py to correct imports and adjust revision identifiers. Replaced sectors seed import with carta_porte_codes seed and updated down_revision and depends_on to reflect the latest migration state. 2026-03-18 16:43:19 -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
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
3983c9e4b3 feature/catalogo-pedimento 2026-03-17 16:35:27 -06:00
hreyes
fbbe4370de feature/refactorizacion-tabla-sector 2026-03-17 11:21:28 -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
5bbb4ac9b9 feat: Relocate units of measure and historical tariff fractions seeding to company creation and add Celery schedule files to gitignore. 2026-03-03 08:55:42 -07: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
0db22686b9 feat: add calculations module for item financials processing 2026-02-23 14:05:13 -06:00
e1ce41f9f9 feat: update default system value in AuditLog model for consistency 2026-02-19 17:51:50 -06:00
dc37f458f5 Merge remote-tracking branch 'origin/development' into feature/fraction-catalogs 2026-02-19 17:22:37 -06:00
Galindo97
2a0480a7f3 feat: Add general catalogs for historical, Canadian, US, and SITAR tariff fractions and sectors with full stack implementation. 2026-02-17 10:22:54 -06:00
fe90702563 feat: add historical tariff fractions functionality
- Implemented new endpoints for managing historical tariff fractions, including listing and fetching rates based on invoice details.
- Created DTOs for historical tariff fractions to standardize data transfer.
- Added service layer to handle business logic for historical tariff fractions.
- Updated frontend components to integrate historical tariff fractions, including fetching rates based on user input.
- Enhanced existing data models and routes to accommodate new functionality.
2026-02-16 18:12:13 -06:00
b2299e9efc feat: add historical tariff fractions seeding and update model schema 2026-02-11 12:47:00 -06:00
9dcbfdb978 Refactor import paths for TariffFraction and USTariffFraction models
- Updated import statements for TariffFraction to reflect new module structure in reports related to importacion (mex, temporary, facturas).
- Adjusted import paths for USTariffFraction in service files to maintain consistency across modules.
2026-02-09 10:48:31 -06:00
Galindo97
9120568f10 feat(seed): add tariff fractions seed data to initial migration 2026-01-21 15:44:03 -06:00
9a0cc4487d feat(states): add initial seed data and update State model with foreign key 2026-01-20 13:42:00 -06:00
68fc7506db fix(security): update permissions seeding to use 'module' instead of 'resource' 2026-01-15 08:26:41 -06:00
86e1f7e8f6 feat(security): implement permission checks in tenant CRUD routes and enhance API error handling 2026-01-14 17:34:02 -06:00
4079a0cc0f Refactor database models to use server defaults for boolean and timestamp fields
- Updated `TimestampMixin` to use `server_default` for `created_at` and `updated_at` fields.
- Modified various models in the `fa_classes`, `doc_types_dig`, `ports`, `units_of_measure`, `invoices`, `parts`, `trailers`, `licenses`, `tenants`, and `user_tenant` modules to set `server_default` for boolean fields and other relevant fields.
- Adjusted the `trailer_types` model to change the schema from `a76` to `public`.
- Implemented database migration execution during application startup in `main.py`.
- Removed old Alembic migration execution logic from the entrypoint script.
- Updated seed data for units of measure and removed unused seed files.
2026-01-14 15:54:37 -06:00
Galindo97
27e18c9d0b feat(database): add deleted_at column to units of measure tables and update DTO field lengths 2026-01-12 11:38:12 -06:00
Galindo97
0aea981cf1 feat(api): add Units of Measure API client with CRUD operations
- Implemented interfaces for UnitOfMeasure, UnitOfMeasureListResponse, CreateUnitOfMeasureData, and UpdateUnitOfMeasureData.
- Added API methods for listing, retrieving, creating, updating, and deleting units of measure.
- Included pagination support for the list method.
2026-01-12 10:36:43 -06:00
Galindo97
c2d1961994 feat: remove unit of measure tables migration script 2026-01-09 15:38:07 -06:00
Galindo97
7abe79405e feat: add unit of measure tables and seed data for material types management 2026-01-09 15:34:13 -06:00
AlexeerCT
08416d6cad Refactor Part model and related components
- Updated the Part model in models.py to improve readability and maintainability by organizing imports and formatting.
- Enhanced relationships in the Part model for better clarity.
- Modified main.py to streamline imports for parts and related models.
- Adjusted partForm.svelte to correctly reference properties from inv_data and fa_data.
- Updated +page.svelte to fix the import path for DataTable and refine data handling.
- Changed edit/[[id]]/+page.svelte to enforce type safety for the 'type' variable.
2026-01-08 21:12:31 -06:00
02d6d2bac7 Se corrigio una ruta de puertos, ademas de agregar tipos de materiales a partes 2026-01-07 10:26:34 -06:00
Galindo97
6a505513f4 Update Alembic migration scripts for configuration changes and observations in pedimentos 2025-12-31 08:22:39 -06:00
Galindo97
150efdfd99 pedimentos UI 2025-12-23 14:15:05 -06:00
9f2971d8c4 Se acabo de realizar las tareas CRUD de catalogos, ademas de cambiar su estilo de tablas. Tambien se agrego la caracteristica de reactividad 2025-12-24 10:36:14 -06:00
76b9325713 fix: Correct SQL values formatting in invoice types seed data 2025-12-11 11:22:19 -06:00
c63d543cb5 feat: Update invoice types seed data to include operation types 2025-12-11 11:21:06 -06:00