Commit Graph

681 Commits

Author SHA1 Message Date
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
Galindo97
620e9fd2a8 fix(clients_and_providers): include 'both' type in client or provider filtering 2026-01-22 13:43:31 -06:00
79e6c2f5a4 Edicion habilitada 2026-01-22 13:12:41 -06:00
4fda7b28c7 Se corrigio el sistema de modal de paises 2026-01-22 13:06:08 -06:00
Galindo97
b564701dc3 fix(validators): add required validations for customs fields in item creation and update
feat(item-sheet): implement cancel functionality to restore original item data
2026-01-22 12:54:26 -06:00
Galindo97
0782e784ac fix(validators): update part_number_id validation to be optional in item creation 2026-01-22 12:26:57 -06:00
587dfed2f2 Se arreglo el catalogo de UM 2026-01-22 11:44:54 -06:00
Galindo97
9b32c019ef feat(line_items): update part number and component part number fields to use integers; enhance schemas and services for better data handling 2026-01-22 09:52:21 -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
Galindo97
18559025b1 fix(pedimentos): standardize ID naming convention and enhance row selection functionality in data table 2026-01-21 17:32:37 -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
f7ac2d50c3 fix: update part_number and component_part_number fields in various schemas and components 2026-01-21 16:16:55 -06: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