Commit Graph

387 Commits

Author SHA1 Message Date
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
AlexeerCT
97b3ea52bc feat: Update environment variables and Docker configurations for production setup 2025-12-31 10:37:23 -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
f35f0b005a Se termino de incorprar la edicion y la creacion en DODA, ademas de acortar el nombre de unidades 2025-12-31 09:25:10 -06: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
AlexeerCT
ca67413da6 feat: Remove debug logging for transportation data in invoice loading 2025-12-31 09:02:06 -06: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
9741d586d7 Se integro la edicion y creacion de companias y se esta trabajando en DODA 2025-12-30 17:54:04 -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
cb00e5cd16 Refactor API routes: migrate invoices and company endpoints to new structure and enhance error handling 2025-12-29 13:15:00 -06:00
AlexeerCT
8d0a895c8d Refactor invoice edit flow: enhance error handling, load reference data, and improve token management 2025-12-29 12:53:06 -06:00
AlexeerCT
b939526302 Update Keycloak configuration and normalize API endpoint paths in invoices API 2025-12-26 17:48:46 -06:00
AlexeerCT
69bf0c472b Refactor middleware import path, update Docker configurations, and normalize API base URL 2025-12-26 14:21:00 -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
b011ae32a4 Puliendo el proyecto de archivos redunantes 2025-12-24 14:55:57 -06:00
AlexeerCT
6c1b555f08 feat: add pedimento fields and selection functionality to invoice forms 2025-12-24 14:42:23 -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
Galindo97
07e5a5101a feat: implement dialogs for managing shipments, goods, contributions differences, and notes in the otros-datos-tab-form component 2025-12-24 13:39:07 -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
Galindo97
6a06f19b1c feat: Update Pedimento schemas and frontend components to enforce required fields and improve data handling 2025-12-22 18:04:49 -06:00
f915bccd5f Desarrollo de rutina de CRUD para los catalogos generales 2025-12-22 17:43:25 -06:00
6a9f69e39e Se termino de agregar los formularios modales a los catalogos que faltaba 2025-12-22 11:13:35 -06:00
153fca9ad7 Se agrego un modal provicional para el fomrulario y creacion de los registros en la base de datos. Aun faltan 3 catalogos para la integracion con la base de datos 2025-12-19 17:25:12 -06:00
AlexeerCT
fa70b747ec feat: convert operation_type from string to number for existing invoices 2025-12-19 11:30:47 -06:00
AlexeerCT
f8fbfb0c4b feat: implement automatic URL updates and filter application for invoice dashboard 2025-12-19 11:19:30 -06:00
AlexeerCT
e937f48de4 feat: add logistics tab form for invoice editing
feat: implement server-side loading for invoices page with authentication and filters

feat: create invoices page with filtering, infinite scroll, and data table

feat: add server-side loading for invoice edit page with data fetching

feat: implement invoice edit page with tabbed interface and form handling
2025-12-19 10:52:09 -06:00
827c5319bb Se agegaron rutas para clientes/proveedores asi como a las agencias aduanales 2025-12-16 15:40:17 -06:00
d1caf0b996 Creacion de rutas para nuevas facturas, asi como nuevas rutinas para el filtro de datos en facturas de exportacion 2025-12-16 08:29:39 -06:00
314df4ffc1 Modulo/Creacion de endpoint para las tablas de facturas, asi como sus creaciones 2025-12-12 17:23:58 -06:00
a07aeb7b12 feat: Enhance invoice management with operation and invoice type filters, update dialog defaults, and modify routes for improved functionality 2025-12-12 08:44:09 -06:00
e5f6162ffb feat: Implement invoice management features including data table, dialogs for viewing, editing, and deleting invoices, and server-side loading of invoice data 2025-12-11 11:30:44 -06:00
3992a9436b feat: Implement server-side loading for exchange rates with authentication and error handling 2025-12-09 09:08:17 -06:00
ce6cdee062 feat(api): add CRUD operations for various general catalogs including concepts, customs broker concepts, DODA, electronic notices, equivalencies, error catalogs, exchange rates, identifiers, INPC, legends, multi-currency types, packages, ports, prevalidators, seals, signatures, unit conversions, and units of measure. 2025-12-09 09:03:33 -06:00
e8b8599335 feat: Implement API clients and UI components for managing units of measure and locations
- Added API client for OMA units of measure with CRUD operations.
- Created API client for general unit measures with CRUD functionality.
- Developed UI components for displaying and managing locations in a data table format.
- Implemented data table actions for unit measures, including create, edit, and delete functionalities.
- Integrated pagination and refresh capabilities in the data tables for both customs and general unit measures.
- Enhanced user experience with dialogs for creating and editing units of measure.
- Added server-side loading logic for fetching locations and units of measure with error handling.
2025-12-08 17:34:03 -06:00
648197b171 feat: Enhance company loading logic with authentication and error handling 2025-12-08 14:37:45 -06:00
6acbd48e9e feat: Implement general catalogs for INPC, Legends, Multi-Currency Types, Packages, Ports, Prevalidators, Signatures, Unit Conversions, and Units of Measure
- Added INPC management page with search functionality.
- Created Legends management page with filters for code and description.
- Implemented Multi-Currency Types management with search capabilities.
- Developed Packages management page with filtering options.
- Introduced Ports management page with authentication and data fetching.
- Added Prevalidators management page with search filters.
- Implemented Signatures management page with search by name and position.
- Created Unit Conversions management page for conversion factors.
- Developed Units of Measure management pages for ACE, American, and OMA with data tables and create/edit dialogs.
2025-12-08 14:17:47 -06:00
f1bd2d63e8 Merge remote-tracking branch 'origin/24-nov' into development 2025-12-08 10:39:22 -06:00
KevinMrkz3221
5c4372df8c catalogos 2025-12-06 19:45:36 -06:00
0cb89ceeec feat: update pedimento dates model, add PATCH method to API, and enhance edit forms 2025-12-05 17:27:19 -06:00
KevinMrkz3221
64b6f3e5c9 feat: implementar CRUD completo para exchange_rate, packages y seal
Backend:
- Corregir tipos datetime en exchange_rate (dto.py, models.py)
- Agregar datetime import en packages dto.py
- Corregir orden de parámetros en seal services.py
- Actualizar router.py con nuevas rutas

Frontend:
- Crear API clients para exchange-rate, packages y seal
- Implementar componentes de tabla con renderComponent
- Crear diálogos de crear/editar para cada módulo
- Implementar data-table-actions con manejo interno de diálogos
- Agregar páginas completas con filtros e infinite scroll
- Actualizar sidebar con nuevos módulos

Características:
- Acciones inline (editar/eliminar) totalmente funcionales
- Filtros de búsqueda específicos por módulo
- Paginación con infinite scroll
- Sincronización con companyStore
- Manejo de errores robusto
2025-12-02 20:46:41 -06:00