Commit Graph

58 Commits

Author SHA1 Message Date
hreyes
ec8c3a7c2d feature/csv-templates 2026-03-03 10:13:35 -07:00
hreyes
9da84990a8 feature/BOMs-csv-WIP 2026-03-03 09:54:12 -07:00
hreyes
6026132db3 Merge origin/development: resolved conflicts in scripts/init_first_time.sh, backend/api/v1/modules/a76/invoices/services.py, .gitignore and others 2026-02-27 11:46:16 -07:00
hreyes
cde583315b Merge development 2026-02-23 13:12:49 -06:00
hreyes
0683aaa801 feature/csv-for-envoices 2026-02-23 13:05:02 -06:00
Galindo97
af99e43ee5 Merge remote-tracking branch 'origin/development' into feature/Invoice-movements
# Conflicts:
#	backend/api/v1/modules/a76/reports/importacion/facturas/usa/service.py
#	backend/core/celery_app.py
#	frontend/src/lib/api/dashboard/a76/general_catalogs/company.ts
2026-02-20 10:09:19 -06:00
15f6f488bf Merge remote-tracking branch 'origin/development' into feature/trasnferencia_mainx30 2026-02-20 09:31:13 -06:00
Galindo97
6088d934f6 fix: Remove duplicate router.include_router statement. 2026-02-18 11:27:57 -06:00
Galindo97
f19f051e59 Merge branch 'development' into feature/Invoice-movements 2026-02-18 10:20:45 -06:00
hreyes
56f19bb88f Merge branch development into feature/carga-via-csv 2026-02-17 09:22:19 -06:00
hreyes
91c3f7105b feature/csv-envoices-integration 2026-02-16 17:17:07 -06:00
5d230fc4d7 Se integro el modulo de importacion definitiva 2026-02-16 11:52:27 -06:00
3d691d6881 Se integro el modulo de importacion 2026-02-16 10:36:23 -06:00
41c9eaf64d Modulo de creacion de formato dat con MAINX30 en exportacion 2026-02-13 12:35:18 -06:00
1e8f56a438 Merge branch 'development' into feature/SSR-views 2026-02-13 08:13:35 -06:00
287a194910 Merge branch 'development' into feature/items-validation 2026-02-12 17:04:13 -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
76f857ff69 Merge branch 'feature/record' into development 2026-02-11 17:35:44 -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
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
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
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
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
afba0332b1 feat: implementacion inicial descargo de peps 2026-02-03 13:06:56 -06:00
47c4984d3f Se integro la plantilla de aviso de consolidado 2026-01-29 08:56:25 -06:00
9c0d007cf4 Se creo la base del reporte 2026-01-26 17:44:16 -06:00
3d39360f9c Se introdujo el sistema de consolidados 2026-01-21 09:47:28 -06:00
50ef340df8 Se creo la rutina de creacion de reportes parcial 2026-01-09 18:03:08 -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
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
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
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
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
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
7e9c8397ef feat: Implement invoice management module with CRUD operations
- Added InvoiceHeader, InvoiceComplianceMx, InvoiceFinancials, InvoiceLogistics, InvoiceSalesDetails, and InvoiceCollections models.
- Created schemas for invoice operations including create, update, and response schemas.
- Developed services for handling business logic related to invoices, including retrieval, creation, updating, and deletion of invoices and their related data.
- Introduced routes for invoice management, enabling CRUD operations through a RESTful API.
- Integrated invoice routes into the main application router.
- Removed unused routers from the core module to streamline the API structure.
2025-12-09 16:00:46 -06:00
44eef08445 feat: Implement license and tenant management APIs
- Added endpoints for license management including creation, retrieval, update, validation, and usage tracking.
- Developed service layer for business logic related to licenses.
- Introduced tenant management APIs for creating, updating, listing, and deleting tenants.
- Implemented user-tenant relationship management with endpoints for adding, removing, and updating user roles in tenants.
- Created DTOs for data transfer between layers and models for ORM mapping.
- Enhanced logging and error handling across services.
2025-12-09 11:51:18 -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
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
ba40123333 feat: Enhance Pedimentos CRUD operations with related data handling
- Updated PedimentosService to create and update related tables for Pedimentos.
- Added company_id filtering in queries for Pedimentos.
- Improved error handling and logging during creation and update processes.
- Refactored router tags for consistency and clarity.
- Adjusted API endpoints for customs brokers to include company_id in requests.
- Enhanced company selection logic in various components to prioritize active company.
- Implemented event listeners for company changes to reload data dynamically.
- Updated frontend components to handle loading states and errors more effectively.
- Ensured all relevant routes and API calls are aligned with the new company context.
2025-11-14 18:14:33 -06:00
aa35635397 feat: Implement customs brokers management interface
- Added a data table for displaying customs brokers with columns for key, name, type, license, RFC, email, phone, city, and actions.
- Created a dialog for adding new customs brokers with a form for inputting necessary details.
- Implemented actions for viewing details and deleting customs brokers with confirmation dialogs.
- Integrated search functionality to find customs brokers by their key.
- Established server-side loading for the customs brokers page to handle authentication and data retrieval.
2025-11-12 16:57:15 -06:00
6225122832 feat: Implement client and provider management dashboard
- Added data table component for displaying clients and providers with infinite scroll functionality.
- Created dropdown actions for each client/provider including copy ID, copy RFC, view details, edit, toggle status, and delete.
- Implemented dialogs for creating, editing, viewing details, and deleting clients/providers.
- Integrated API calls for fetching, creating, editing, deleting, and toggling status of clients/providers.
- Enhanced error handling and loading states for better user experience.
- Updated server-side logic to handle pagination and company selection for client/provider data retrieval.
2025-11-12 16:08:42 -06:00
3c2094314b fix: Correct import path for customs_broker_router in the API router 2025-11-11 18:26:00 -06:00
b68c4316ff Refactor backend and frontend code for improved structure and functionality
- Rearranged imports in multiple files for consistency and clarity.
- Updated logging middleware to exclude specific paths from logging.
- Enhanced security module by cleaning up token handling and improving tenant validation.
- Added tenant and company scoped mixins for better database model management.
- Implemented generic CRUD routes for tenant-scoped resources.
- Improved error handling and response management in API routes.
- Cleaned up login and logout processes to ensure proper session management.
- Introduced mechanisms to clear local storage and cookies on tenant change.
- Enhanced company store to detect tenant changes and clear data accordingly.
- Added new DTO mixins for currency and value affect flags.
2025-11-11 17:20:47 -06:00