Commit Graph

247 Commits

Author SHA1 Message Date
d4b52b32ed feat: enhance audit log functionality with tenant_id handling and optional seed data in initialization script 2026-02-18 12:58:11 -06:00
bbd0b7ad90 feat: update item response schema and refactor item creation logic for improved payload structure 2026-02-18 11:27:11 -06:00
b94d0ac7fb refactor: restructure item interfaces and update related components
- Renamed LineItem interface to Item and adjusted properties accordingly.
- Updated CreateItemData and UpdateItemData interfaces to reflect new structure.
- Modified components to use the new Item interface, removing nested lines.
- Adjusted data binding in item configuration, main data, and other related components.
- Simplified item creation and editing logic by removing unnecessary nesting.
- Ensured all references to line items are updated to reflect the new structure.
2026-02-18 09:56:50 -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
e6ef5c9094 feat: enhance error handling with custom HTTP exception responses and middleware improvements 2026-02-16 13:18:42 -06:00
56a781f2be Merge pull request 'development' (#144) from development into feature/item-calculations
Reviewed-on: ADUANASOFT/anexo76#144
2026-02-16 18:10:12 +00:00
Galindo97
343dc10249 Merge branch 'development' into feature/fraction-API 2026-02-16 12:04:56 -06:00
9e37340dd5 feat: implement package and payment method dialogs with API integration 2026-02-16 11:52:34 -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
5ca98ad0bc fix: correct logic for handling remesa and package quantity validation in invoice updates 2026-02-16 09:49:23 -06:00
50aa87b2aa fix: correct logic for handling pedimento_id in invoice update validation 2026-02-13 17:04:03 -06:00
e05e50f2b8 refactor: enhance invoice mapping functions and integrate PedimentosResponse DTO in catalog service 2026-02-13 16:26:06 -06:00
794d6d1781 refactor: streamline item validation functions and enhance number formatting in summary section 2026-02-13 15:49:54 -06:00
1fa7a53a2f refactor: remove hybrid handling of has_express_line in company service 2026-02-13 08:19:08 -06:00
1e8f56a438 Merge branch 'development' into feature/SSR-views 2026-02-13 08:13:35 -06:00
5d7c4019bc fix: update import paths for TariffFraction model to reflect new directory structure 2026-02-12 17:14:53 -06:00
287a194910 Merge branch 'development' into feature/items-validation 2026-02-12 17:04:13 -06:00
c011d7ad65 feat: enhance invoice and item validation by adding new checks and updating schemas 2026-02-12 17:00:12 -06:00
Galindo97
ab5181f803 feat: Implement consolidated catalog services and endpoints for pedimento and invoice creation/edition. 2026-02-12 13:35:48 -06:00
105aa2b7da Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into development
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2026-02-11 17:38:10 -06:00
76f857ff69 Merge branch 'feature/record' into development 2026-02-11 17:35:44 -06:00
beb42e1f34 Merge pull request 'fix/doda' (#129) from fix/doda into development
Reviewed-on: ADUANASOFT/anexo76#129
2026-02-11 23:28:35 +00:00
e10fd24588 Merge branch 'feature/tables-generation' into development 2026-02-11 17:26:09 -06:00
68b3c5fd82 Merge branch 'feature/exportacion_importacion' into development 2026-02-11 17:12:00 -06:00
f8c38d998d feat: enhance item creation validation by adding checks for subitem existence and required fields 2026-02-11 17:03:25 -06:00
Galindo97
85ca22e574 feat: Implement dynamic backend URL configuration and streamline logout process by centralizing audit logging. 2026-02-11 16:22:03 -06:00
db85b91549 feat: enhance item validation by adding checks for valuation method and part number existence 2026-02-11 14:30:10 -06:00
c26a064d1c Inputs de busqueda 2026-02-11 14:18:18 -06:00
ef4f3cdeac feat: implement historical fraction search logic and integrate with fraction preference search 2026-02-11 12:49:17 -06:00
b2299e9efc feat: add historical tariff fractions seeding and update model schema 2026-02-11 12:47:00 -06:00
Galindo97
dfd9c06b06 feat: Standardize audit log timestamps to UTC in the backend and display local time in the frontend. 2026-02-11 11:13:32 -06:00
Galindo97
a594676de7 feat: Implement comprehensive audit logging for authentication events, including login, logout, user agent, and IP address, and add a script for audit verification. 2026-02-11 10:56:43 -06:00
ac47a99f1a Formularios para cada uno de los tipos de importacion 2026-02-11 10:27:32 -06:00
hreyes
11867196b5 feature/presets-invoices-and-teplates-partidas 2026-02-11 10:18:18 -06:00
Galindo97
f90e20469a feat: Implement a comprehensive audit log system with a dedicated dashboard page and backend API. 2026-02-10 14:07:20 -06:00
4190ac891e Se deshabilito la creacion de facturas de exportacion 2026-02-10 11:02:37 -06:00
ae66879120 Fomrulario de factrua de exportacion implementada 2026-02-10 10:59:11 -06:00
hreyes
45edc56820 feature/limit-characters-customs-brockers 2026-02-09 14:01:52 -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
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
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
6b88429cc6 Merge branch 'feature/packing_list' into development 2026-02-03 17:36:41 -06:00