Commit Graph

126 Commits

Author SHA1 Message Date
AlexeerCT
d276909488 refactor: remove console.log statements and unnecessary logging in various components 2026-01-11 00:00:45 -06:00
AlexeerCT
887cbfa5ce feat: enhance invoice validation and error handling with detailed messages 2026-01-10 23:42:05 -06:00
AlexeerCT
8dca19413b feat: add Fixed Asset Classes management page with CRUD functionality 2026-01-08 21:14:08 -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
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
609bf5501c Merge branch 'feature/creacion_modulo_mercancias' into development 2026-01-08 16:48:23 -06:00
AlexeerCT
10f50a6c46 Merge branch 'feature/pedimentos' into development 2026-01-08 16:43:34 -06:00
Galindo97
ea0e570678 feat: add fixed asset classes management page and embed functionality
- Implemented a new page for managing fixed asset classes with full CRUD functionality.
- Added filtering options for searching classes by code, description, type, and fraction.
- Integrated dialogs for inserting, editing, and deleting classes with validation.
- Enhanced error handling and user feedback with toast notifications.
- Created an embedded iframe for the fixed asset classes page in the merchandise section.
2026-01-08 16:33:43 -06:00
AlexeerCT
c725a6b11a feat: Refactor line item schemas and service methods for improved readability and consistency 2026-01-08 16:25:28 -06:00
AlexeerCT
c040679fc5 feat: Enhance invoice item management with detailed line item structure
- Introduced nested interfaces for line items including customs, financials, quantities, descriptions, and references.
- Updated Item interface to include lines as an array of LineItem.
- Modified invoice top fields to handle pedimento ID and auto-assign values from the invoice.
- Enhanced item configuration component to manage line item properties and descriptions.
- Updated main data, packages section, summary section, and other components to bind new line item properties.
- Implemented normalization of numeric values when editing items to ensure consistent data types.
- Adjusted save invoice logic to accommodate new line item structure and compliance data.
2026-01-08 16:24:34 -06:00
9c2715e8f0 Se normalizo la tabla de partes para anexo 76 y 24, ademas se parametrizo el formulario 2026-01-08 15:39:40 -06:00
AlexeerCT
09bee94ae6 feat: enhance invoice validation logic and add checks for remesa, exchange rate, and transport details 2026-01-07 18:01:11 -06:00
AlexeerCT
182f472370 feat: enhance pedimento date validation and update date handling in forms 2026-01-07 16:50:20 -06:00
AlexeerCT
d83c289276 feat: update pedimento operation type to use string values and enhance validation logic 2026-01-07 12:30:58 -06:00
AlexeerCT
b56c56d96d fix: correct date filtering logic in get_all method of ExchangeRateService 2026-01-07 11:46:02 -06:00
AlexeerCT
8cdcc369bb feat: implement exchange rate filtering and validation enhancements in invoice processing 2026-01-07 11:45:41 -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
7c9c295c5c Refactor code structure for improved readability and maintainability 2026-01-07 08:44:10 -06:00
7c5f78f258 Se esta trabajando en el formulario de partes y sus relaciones 2026-01-06 18:02:45 -06:00
AlexeerCT
9fe07e78a6 feat: refactor invoice compliance fields to use foreign keys and enhance validation logic 2026-01-06 18:01:26 -06:00
a77db33296 Merge pull request 'fixed/clientes_provedores_sellos' (#41) from fixed/clientes_provedores_sellos into feature/creacion_modulo_mercancias
Reviewed-on: ADUANASOFT/anexo76#41
2026-01-06 20:17:45 +00:00
ec8f6606ad Se corrigio y expandio los datos de clientes y proveedores 2026-01-06 12:04:04 -06:00
AlexeerCT
12ec8c6dfb feat: enhance invoice saving functionality with new top fields and transport modes
- Added InvoiceTopFieldsFormData to handle additional invoice fields.
- Updated saveInvoice function to validate and process new fields.
- Integrated transport modes fetching in the invoice edit page.
- Refactored financials and compliance data handling to accommodate new structure.
- Improved user feedback with toast notifications instead of alerts.
2026-01-06 11:25:09 -06:00
8d189aaaf1 Se termino deintegrar el crud de partes y clases 2026-01-05 17:37:20 -06:00
fac675533c CRUD de agentes aduanales funcional, edicion y creacion 2026-01-05 10:12:15 -06:00
Galindo97
545ff8d278 feat: enhance Pedimentos schema and service to include additional fields for packages, transport carriers, guides, contributions, seals, and containers 2026-01-05 08:44:02 -06:00
Galindo97
97a318fdba feat: update invoice and item tabs to use 'Datos Soriana' instead of 'Datos Sonana'
refactor: enhance package transportation tab to prevent infinite loops and load data only once

fix: include credentials in fetch request for company data

feat: implement loading of additional pedimento data in edit page, including contributions, packages, transport carriers, guides, seals, and containers

add: create DTOs and models for pedimento contributions, packages, transport carriers, guides, seals, and containers
2026-01-02 18:04:28 -06:00
Galindo97
0b4c385aeb feat: Implement Document Types for Digitization module
- Added backend API for managing document types related to digitization, including CRUD operations.
- Created DTOs and models for DocumentTypeDigitization with validation using Pydantic.
- Updated frontend API service to interact with the new document types API.
- Refactored existing forms in the frontend to load and manage document types effectively.
- Enhanced data loading and state management in various components related to pedimentos.
2026-01-02 14:16:09 -06:00
c95c7f7c55 Merge pull request 'feature/production' (#40) from feature/production into development
Reviewed-on: ADUANASOFT/anexo76#40
2026-01-02 19:52:11 +00:00
AlexeerCT
104014d0fa feat: Update API endpoints to ensure trailing slashes and adjust data types in models 2026-01-02 13:35:01 -06:00
b9066880b0 Se arreglo la actualizacion de clientes y proveedores, ademas de integrarlo en una misma ruta URL 2026-01-02 09:17:32 -06:00
Galindo97
57b7e6dcbf feat: add country fetching API endpoint and implement dashboard contributions management
- Implemented a new API endpoint for fetching countries with pagination support.
- Added a new Svelte component for managing contributions in the dashboard, including CRUD operations for contributions and general contributions.
- Introduced dynamic tab navigation for different contribution types (DTA, PREV, ECI, MULT, REC).
- Enhanced user interface with dialogs for adding and editing contributions and general contributions.
2025-12-31 13:51:17 -06:00
a8b8dd95aa Merge pull request 'fixing/fixing_code' (#38) from fixing/fixing_code into development
Reviewed-on: ADUANASOFT/anexo76#38
2025-12-31 15:56:25 +00:00
17c7a5ecd1 Merge pull request 'feature/items' (#37) from feature/items into development
Reviewed-on: ADUANASOFT/anexo76#37
2025-12-31 15:06:24 +00:00
7e72b559ef Merge pull request 'pedimentos' (#36) from pedimentos into development
Reviewed-on: ADUANASOFT/anexo76#36
2025-12-31 14:24:57 +00:00
Galindo97
276b4660b1 Refactor DTOs and Svelte components to use boolean flags instead of integers for various configurations; update form handling to ensure proper state management and data binding across components. 2025-12-31 08:12:36 -06:00
AlexeerCT
3210e53608 feat: Enhance driver and transportation data handling in invoice editing
- Added methods to list drivers and filter by company and tenant in DriverService.
- Updated API routes to include transporters, vehicles, drivers, trailers, customs sections, and code pedimento regimens.
- Modified frontend components to handle new transportation data, including select inputs for transporters, vehicles, drivers, and trailers.
- Improved data fetching in server-side routes to include additional transportation-related data.
- Enhanced UI components to display and select transportation-related information in the invoice editing form.
2025-12-30 15:57:27 -06:00
91d68cb1ef Se cambiaron los nombres de los archivos a uno mas estandarizado, se puso el ymal como estaba y se quitaron notificaciones 2025-12-30 13:58:56 -06:00
AlexeerCT
5bb9343f6e feat: Add new item management components for invoice editing
- Implemented packages section for item details in `packages-section.svelte`
- Created summary section to display general data and weights in `summary-section.svelte`
- Developed tab continuation for additional item details in `tab-continuation.svelte`
- Added identifiers tab for managing item identifiers in `tab-identifiers.svelte`
- Introduced labeling tab for item labeling information in `tab-labeling.svelte`
- Created serial numbers tab for entering multiple serial numbers in `tab-series.svelte`
- Built item sheet for inventory items in `item-sheet-inv.svelte`
- Developed items tab form for managing invoice items in `items-tab-form.svelte`
2025-12-30 12:02:51 -06:00
AlexeerCT
30b8daf16e Refactor item management: Update schemas, models, and API routes
- Renamed customs-related schemas in line_items to LineCustomCreate, LineCustomUpdate, and LineCustomResponse.
- Adjusted models to streamline invoice_id mapping in Item model.
- Enhanced item routes to include company_id in summary statistics endpoint.
- Refactored ItemService to improve item creation and update logic, removing redundant methods.
- Updated frontend components for item management, including new item creation and editing functionalities.
- Added API client for items with CRUD operations and improved error handling.
2025-12-30 09:22:52 -06:00
AlexeerCT
304f7b07d4 feat: add items tab form and save invoice functionality
- Implemented the items tab form in Svelte for editing invoices, displaying item quantities and import values.
- Created saveInvoice function to handle both creation and updating of invoices, including validation of required fields and building a unified payload for API requests.
- Added support for compliance, financials, and logistics data in the invoice payload.
2025-12-29 18:00:46 -06:00
AlexeerCT
3409d0a163 Update Keycloak server URL to include /kcauth in configuration files 2025-12-26 12:03:47 -06:00
AlexeerCT
d3a0086188 Merge branch 'feature/facturas' into development 2025-12-24 15:07:10 -06:00
AlexeerCT
5ceaba50e5 Merge branch 'features/Creacion-formularios_catalogos_generales' into development 2025-12-24 15:05:09 -06:00
AlexeerCT
18325a2925 feat: add invoice editing components and UI elements
- Implemented `invoice-top-fields.svelte` for editing main invoice details including operation type, invoice type, and compliance fields.
- Created `observations-tab-form.svelte` to manage invoice observations and compliance data.
- Developed `others-tab-form.svelte` for additional logistics and compliance information related to the invoice.
- Introduced reusable UI components for checkboxes and radio groups in `checkbox.svelte`, `radio-group.svelte`, and their respective item components.
- Enhanced form handling with TypeScript for better type safety and maintainability.
2025-12-24 13:52:25 -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
Galindo97
7585cedd3e feat: add partidas tab form component with CRUD functionality
- Implemented the partidas tab form in Svelte for managing partidas.
- Added functionality to create, edit, delete, and list partidas.
- Integrated a dialog for adding and editing partidas with validation.
- Included a checkbox component for selecting partidas.
- Added total calculations for partidas in the UI.
- Enhanced UI with buttons for various actions and a responsive table layout.
2025-12-24 09:10:10 -06:00
18b0a49322 Desarrollo del sistema de crud, ademas de homogenizar el estilo de las tablas 2025-12-23 17:55:12 -06:00
Galindo97
150efdfd99 pedimentos UI 2025-12-23 14:15:05 -06:00