Commit Graph

73 Commits

Author SHA1 Message Date
Galindo97
899a5c4d58 fix(pedimentos): various fixes and improvements for pedimento processing and reports 2026-02-25 09:16:42 -06:00
Galindo97
79a9f72741 feat: Introduce a new TariffFractionSelector component, refactor tariff fraction handling across frontend forms and backend services, and add a company amendment database migration. 2026-02-16 11:37:06 -06:00
1fa7a53a2f refactor: remove hybrid handling of has_express_line in company service 2026-02-13 08:19:08 -06:00
287a194910 Merge branch 'development' into feature/items-validation 2026-02-12 17:04:13 -06:00
c26a064d1c Inputs de busqueda 2026-02-11 14:18:18 -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
f2005e33a0 Se integro el modulo de manifestacion base 2026-02-06 16:22:04 -06:00
6b2ca5746a feat: add general_catalogs router to centralize general catalog modules 2026-02-06 14:02:39 -06:00
017df56a57 feat: add USTariffFractionService for managing US tariff fractions
- Implemented methods to get all, get by ID, create, update, and delete US tariff fractions.
- Added filtering capabilities for retrieving tariff fractions.
- Included error handling for duplicate entries during creation.
2026-02-06 13:58:50 -06:00
0440543f24 Refactor item validation and service logic
- Consolidated item creation and update validation into a common function to reduce code duplication.
- Updated the `validate_create` and `validate_update` functions to utilize the new common validation logic.
- Introduced a new `common_validators.py` file for shared validation functions.
- Added a new `fractions.py` file to handle fraction-related logic and searches.
- Enhanced the `LineCustom` model to use an enumeration for `fraction_type`.
- Improved the `ItemService` class with methods for locking invoices and renumbering line items.
- Updated the `Sector` model to use a boolean type for the `authorized` field.
- Fixed import issues in the router by replacing the old `a24_router` with `sitar_router`.
2026-02-04 23:29:05 -06:00
6b88429cc6 Merge branch 'feature/packing_list' into development 2026-02-03 17:36:41 -06:00
c97b9e3daf Se ajusto la tabla de quantity y de packeges, y se creo la relacion 2026-01-27 11:34:10 -06:00
52708c5ba0 feat(api): integrate Sitar API configuration and authentication 2026-01-23 13:42:58 -06:00
1af4fe3ce8 Merge pull request 'feature/ventana_tipo_cambio' (#83) from feature/ventana_tipo_cambio into development
Reviewed-on: ADUANASOFT/anexo76#83
2026-01-23 18:35:40 +00:00
b8045d73e6 Se integro el sistema de extraer el tipo de cambio 2026-01-23 10:42:21 -06:00
a606f3ab08 Merge pull request 'Edicion habilitada' (#75) from fixed/tipos_de_cambio into development
Reviewed-on: ADUANASOFT/anexo76#75
2026-01-22 23:35:12 +00:00
902aca76a6 Merge pull request 'fixed/logo_empresa' (#70) from fixed/logo_empresa into development
Reviewed-on: ADUANASOFT/anexo76#70
2026-01-22 23:30:06 +00:00
79e6c2f5a4 Edicion habilitada 2026-01-22 13:12:41 -06:00
587dfed2f2 Se arreglo el catalogo de UM 2026-01-22 11:44:54 -06:00
e338236a1c Se arreglo el problema de company 2026-01-22 09:49:59 -06:00
d4e4e1f7f8 Se corrigio el problema de los logos 2026-01-22 08:10:57 -06:00
5a254fb2b1 Merge pull request 'fix/tabla_unidades_medida' (#66) from fix/tabla_unidades_medida into development
Reviewed-on: ADUANASOFT/anexo76#66
2026-01-21 22:35:20 +00:00
4b4599362f Se cambio la tabla de unidades de medida generales por unidades de medida 2026-01-21 15:43:19 -06:00
5db940b518 refactor(models): clean up whitespace and update has_express_line type in Company model 2026-01-21 13:09:29 -06:00
ce8712436e fix(models): update import path for CompanyVU submodel in models.py 2026-01-21 12:58:40 -06:00
2a468cc859 fix(models): update Company model to extend existing schema and clean up LineItem model 2026-01-21 12:27:08 -06:00
b446263c46 Merge pull request 'fix/production' (#61) from fix/production into development
Reviewed-on: ADUANASOFT/anexo76#61
2026-01-21 18:13:46 +00:00
68a7c116f3 Merge branch 'feature/reportes_facturas' into development 2026-01-21 12:12:23 -06:00
a5daf0bd86 fix(dto): change customs_code type from str to int in multiple DTO classes 2026-01-21 11:48:28 -06:00
Galindo97
123cdb522b feat(validation): enhance item validation and update UI components for required fields 2026-01-21 11:11:54 -06:00
9eb9abca23 Merge pull request 'add/tables' (#57) from add/tables into development
Reviewed-on: ADUANASOFT/anexo76#57
2026-01-20 18:54:41 +00:00
ef94929fd9 Merge pull request 'feat: Implement multi-tenancy support in middleware and security layers' (#15) from feature/security into development
Reviewed-on: ADUANASOFT/anexo76#15
2026-01-20 18:54:10 +00:00
0831dd0ab2 Merge pull request 'feature/items' (#56) from feature/items into development
Reviewed-on: ADUANASOFT/anexo76#56
2026-01-20 18:53:49 +00:00
Galindo97
9567a584a5 feat: enhance various components with new fields and improved styling for better user experience 2026-01-16 17:15:17 -06:00
Galindo97
eb03237f44 feat(company): add submodels for Company including address, certification, digital certificate, electronic agent, prevalidator, and VU configurations 2026-01-16 09:26:06 -06:00
0a02a3e912 Se mejoro el disenio de partes, se genero la informacion mas precisa en los reportes y se carga el logo en las instanacias de las empresas 2026-01-15 13:20:34 -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
0c43c252a4 Se completo la integracion del celery en la creacion de reportes 2026-01-13 14:22:15 -06:00
Galindo97
98c7fe3bb5 feat: Enhance invoice editing components with new dialogs and improved UI
- Added country selection dialog with search functionality.
- Introduced tariff fraction selection dialog with infinite scrolling and search.
- Implemented unit of measure selection dialog with search capabilities.
- Updated invoice editing UI to include new fields for line descriptions and identifiers.
- Improved layout and spacing for better user experience in invoice editing forms.
- Added API endpoints for fetching tariff fractions and units of measure with proper error handling.
2026-01-13 14:09:22 -06:00
0a1b6cd1e0 feat(company): add logo upload functionality and update logo field size 2026-01-13 13:06:14 -06:00
Galindo97
659a9ea6cf fix(models): simplify foreign key constraints in UnitOfMeasureGeneral by removing tenant_id and company_id 2026-01-12 13:30:38 -06:00
7aa5b09d33 fix(models): simplify unique constraints by removing tenant_id and company_id 2026-01-12 12:49:58 -06:00
e960716fe4 Merge branch 'feature/invoices' into development 2026-01-12 12:31:22 -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
6845dcd670 feat: update unit of measure references and improve input handling in item service 2026-01-12 09:22:13 -06:00
AlexeerCT
181648d0cb Merge branch 'feature/invoices' into development 2026-01-08 16:57:13 -06:00
AlexeerCT
c15d0cda51 Merge branch 'feature/clases-activo-fijo' into development 2026-01-08 16:53:30 -06:00
AlexeerCT
b56c56d96d fix: correct date filtering logic in get_all method of ExchangeRateService 2026-01-07 11:46:02 -06:00