Commit Graph

345 Commits

Author SHA1 Message Date
Galindo97
893c154b85 feat: Enhance invoice form data handling with new fields and improve invoice report export filter logic and UI. 2026-02-09 12:57:20 -06:00
55fa7c10b5 Fix import paths for schemas in service.py files 2026-02-09 11:40:25 -06:00
a35ead5021 Merge: Resolver conflictos en client-selector-dialog.svelte 2026-02-09 11:39:21 -06:00
4dd8cf16fb Merge branch 'feature/descargo_peps' into development
Integración de funcionalidad de Descargo PEPS con reportes de Packing List y Aviso Consolidado:

- Frontend: Agregados imports de dischargeReportsApi y ClipboardList
- Frontend: Agregada función handleDownloadDescargo con cálculo PEPS
- Frontend: Agregado botón condicional de Descargo PEPS (solo exportaciones)
- Frontend: Integradas funciones de Aviso Consolidado y Packing List
- Backend: Agregados routers y tasks de descargo y otros reportes
- Backend: Configurado Celery con todas las tareas de reportes
- Backend: Corregido ForeignKey en line_quantities.package_id
- Resueltos conflictos manteniendo funcionalidades de ambas ramas
2026-02-09 11:20:44 -06:00
8790321fe7 feat: enhance search_fraction_preference with additional API integrations for TLCS, ALADI, and PROSEC 2026-02-09 10:48:40 -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
92300038a8 Modulo de manifestacion 2026-02-09 08:42:02 -06:00
Galindo97
84b507fbba feat: Enhance invoice movement reports by refactoring CSV generation with a filter object, expanding exported fields, improving formatting, and enabling direct download in the frontend. 2026-02-06 17:57:58 -06:00
f2005e33a0 Se integro el modulo de manifestacion base 2026-02-06 16:22:04 -06:00
Galindo97
f3f763cd6d feat: Implement asynchronous invoice report generation with email delivery and frontend status polling. 2026-02-06 15:31:30 -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
Galindo97
264100e2ea feat: Implement detailed and normal report types for invoice movements, enhancing number formatting and API request handling. 2026-02-05 16:00:22 -06:00
c92d0a3e16 feat: Enhance PROSEC service and router with additional query parameters for sector and articulo 2026-02-05 12:57:33 -06:00
dbf4b63675 Se termino el modulo de reportes 2026-02-05 08:22:59 -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
f38c13f851 feat: Implement SITAR modules for PROSEC, RCG2, Regulaciones, REIT, RequisitoPrevio, TLCS, and Vehiculos
- Added schemas, services, and routers for PROSEC, RCG2, Regulaciones, REIT, RequisitoPrevio, TLCS, and Vehiculos modules.
- Each module includes search and get by ID functionalities.
- Integrated FastAPI routers for each module into the main SITAR router.
- Ensured proper response models using Pydantic for data validation.
2026-02-04 23:28:46 -06:00
Galindo97
e3cf5dc8f5 Merge branch 'development' into feature/Invoice-movements 2026-02-04 11:00:15 -06:00
6b88429cc6 Merge branch 'feature/packing_list' into development 2026-02-03 17:36:41 -06:00
Galindo97
7920b21654 refactor: streamline client and supplier information retrieval across invoice services 2026-02-03 15:49:40 -06:00
afba0332b1 feat: implementacion inicial descargo de peps 2026-02-03 13:06:56 -06:00
Galindo97
e7971d0d1d refactor: optimize provider and client information retrieval in invoice services 2026-02-03 10:38:36 -06:00
Galindo97
461f8ececb fix: update invoice type filtering for repair imports and exports 2026-01-30 18:03:41 -06:00
9ac8d4a4a4 Creacion de el codigo de barras, y se ajusto la seccion de importador y exportadores 2026-01-30 12:32:26 -06:00
Galindo97
b8e25cd2e1 Refactor code structure for improved readability and maintainability 2026-01-30 10:55:29 -06:00
Galindo97
2905e90a72 fix(pedimentos): change not_affect_usd_value and not_affect_customs_value types from bool to int in DTOs
fix(main): enable redirect_slashes in FastAPI app configuration
2026-01-30 10:12:48 -06:00
d4014df5d5 Merge branch 'feature/facturas_americanas' into development 2026-01-29 17:40:03 -06:00
47c4984d3f Se integro la plantilla de aviso de consolidado 2026-01-29 08:56:25 -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
50504be30b Se pusieron los datos correctos en la tabla 2026-01-27 10:26:07 -06:00
75fc4d56f9 Confguracion de la plantilla 2026-01-26 18:03:35 -06:00
9c0d007cf4 Se creo la base del reporte 2026-01-26 17:44:16 -06:00
fe60de37c7 Se corrigio la decripcion, se quito leyes mexicanas 2026-01-26 11:52:19 -06:00
c4aeb1415b Se corrigio la fraccion americana 2026-01-26 11:24:10 -06:00
9e602a2337 Se ingreso factura americana y modal con botoncitos 2026-01-23 17:59:08 -06:00
52708c5ba0 feat(api): integrate Sitar API configuration and authentication 2026-01-23 13:42:58 -06:00
35390d6e48 Merge pull request 'fix/producction' (#85) from fix/producction into development
Reviewed-on: ADUANASOFT/anexo76#85
2026-01-23 18:48:38 +00:00
37a3787625 Merge branch 'fix/invoices-both' into development 2026-01-23 12:46:50 -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
4ee7b0e733 Refactor FacturaImportacionMexService for improved readability and maintainability
- Organized import statements for better clarity.
- Enhanced formatting and consistency in code style.
- Improved error handling and default values in _obtener_datos_cliente method.
- Streamlined data fetching and processing logic in obtener_datos method.
- Added unit description fetching from UnitOfMeasure model in obtener_datos method.
- Updated comments for better understanding of the code flow.
2026-01-23 12:23:09 -06:00
3cbe4e843f fix(models, schemas, service): remove weight_unit field and update part_number references 2026-01-23 12:20:43 -06:00
Galindo97
1f01d926c2 feat(validators): add validation for required fields based on operation type in invoice processing 2026-01-23 11:03:09 -06:00
b8045d73e6 Se integro el sistema de extraer el tipo de cambio 2026-01-23 10:42:21 -06:00
2a2ad27ad1 Merge branch 'fix/id-items' into development 2026-01-22 17:41:59 -06:00
9585aaa232 Merge pull request 'fix(clients_and_providers): include 'both' type in client or provider filtering' (#76) from fix/pedimentos-both into development
Reviewed-on: ADUANASOFT/anexo76#76
2026-01-22 23:38:03 +00: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
9e6b9e6f8b Merge pull request 'Se corrigio el sistema de modal de paises' (#74) from fixed/catalogo_paises_partes into development
Reviewed-on: ADUANASOFT/anexo76#74
2026-01-22 23:33:24 +00:00
63380d5497 Merge pull request 'fix/table-pedimentos' (#72) from fix/table-pedimentos into development
Reviewed-on: ADUANASOFT/anexo76#72
2026-01-22 23:31:37 +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
Galindo97
07729b970f fix(clients_and_providers): include 'both' type in client/provider filters and update UI indicators 2026-01-22 14:19:22 -06:00