Commit Graph

29 Commits

Author SHA1 Message Date
546b1ea56f Nuevo formulario de extension para partes SCAI con nuevas tablas de aphis con catalogos fijos nuevos 2026-03-18 10:50:36 -05:00
hreyes
8ac071aac9 feature/validaciones-clarion-cliente-proveedor 2026-03-05 15:05:32 -07:00
hreyes
9c3e6827da Merge branch 'development' into feature/clarion-validations-csv-pedimentos 2026-03-05 11:36:39 -07:00
375df79da5 Merge branch 'development' into feature/data-entry 2026-03-05 09:36:03 -06:00
hreyes
f6f23dacd2 Merge remote-tracking branch 'origin/feature/validations-classes' into feature/validations-clarion-csv-parts 2026-03-04 12:55:43 -07:00
82f6205e2a chore: ignore Celery Beat schedule and PID files. 2026-03-04 08:13:36 -07:00
hreyes
4c781b460a feature/layouts-csv-refact 2026-03-03 16:45:12 -07:00
hreyes
47a8a0e6fc Merge branch 'development' into feature/exchange-type 2026-03-03 13:10:20 -07:00
hreyes
d061193d96 fix/celerybeat-ignore 2026-03-03 13:07:15 -07:00
5bbb4ac9b9 feat: Relocate units of measure and historical tariff fractions seeding to company creation and add Celery schedule files to gitignore. 2026-03-03 08:55:42 -07:00
hreyes
a81e3700ff fix/first-fix-ports 2026-02-27 12:51:46 -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
ee4cfcc7e5 Merge origin/development into fix/bug-pedimento 2026-02-26 12:27:02 -06:00
2b6f9a636d Merge pull request 'feat: Implement CRUD and UI for transportation entities (vehicles, trailers, and transporters).' (#165) from feature/modulos-transporte into development
Reviewed-on: ADUANASOFT/anexo76#165
2026-02-26 17:55:51 +00:00
Galindo97
750130ac8e feat: Implement CRUD and UI for transportation entities (vehicles, trailers, and transporters). 2026-02-26 11:40:55 -06:00
Galindo97
899a5c4d58 fix(pedimentos): various fixes and improvements for pedimento processing and reports 2026-02-25 09:16:42 -06:00
Galindo97
980c913d46 fix(customs-brokers): update VU and personnel for multi-tenancy support 2026-02-24 17:47:42 -06:00
hreyes
0683aaa801 feature/csv-for-envoices 2026-02-23 13:05:02 -06:00
hreyes
8ace3735c4 add/gitignore-add-docker-compose 2026-02-17 08:52:25 -06:00
68a7c116f3 Merge branch 'feature/reportes_facturas' into development 2026-01-21 12:12:23 -06:00
5b08158d55 Se arreglo el problema de la columna 2026-01-16 13:17:41 -06:00
0a1b6cd1e0 feat(company): add logo upload functionality and update logo field size 2026-01-13 13:06:14 -06:00
c00107d921 feat: Implement user profile management with avatar upload and additional fields
- Added avatar_url, phone, bio, and preferences fields to UserTenant model.
- Updated UserService to handle user profile updates and retrieval.
- Created endpoints for getting and updating the current user's profile.
- Implemented avatar upload functionality with validation in routes.
- Enhanced frontend to manage user profile, including avatar preview and form handling.
- Added server-side logic for loading and updating user profile data.
- Updated .gitignore to include uploads directory.
2026-01-13 12:37:11 -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
ef5c40af92 feat: Implement client and provider management service
- Added service layer for handling client and provider operations including creation, retrieval, updating, and deletion.
- Introduced DTOs for data transfer and validation.
- Implemented filtering and pagination for client/provider listing.
- Added logging for better traceability of operations.

feat: Create parts management module

- Developed a complete module for managing parts/components including creation, retrieval, updating, and deletion.
- Introduced DTOs for parts with detailed attributes and validation.
- Implemented search and filtering capabilities for parts based on various criteria.
- Added endpoints for regulatory information retrieval and parts statistics.
- Integrated logging for error handling and operational insights.
2025-11-06 20:29:18 -06:00
38d86531e8 feat: Add comprehensive A76 modules with database relationships
 New Features:
- Company module: Single company management with comprehensive business info
- Client & Provider module: Manages clients/providers with address/program relationships
- GParts module: Parts/components management for SCAII, SCAF, and WINSAAI systems
- GClass module: Class classifications for SCAII and SCAF with tariff information

🔗 Database Relationships:
- GPart ↔ GClass: Composite key relationship (client_key, part_class ↔ class_code)
- GPart → Country: Foreign key to public.countries (country_of_origin)
- GPart → CurrencyType: Foreign key to public.currency_types (currency_key)
- GClass → MaterialType: Foreign key to public.material_types (material_key)

📊 API Endpoints Added:

Company Module (/company):
- POST / - Create company
- GET / - Get single company

Client & Provider Module (/clients-providers):
- POST / - Create client/provider
- GET / - List all with pagination
- GET /clients - List only clients
- GET /providers - List only providers
- GET /search/rfc/{rfc} - Search by RFC
- GET /{client_id} - Get by ID
- PUT /{client_id} - Update client/provider
- DELETE /{client_id} - Delete client/provider
- PATCH /{client_id}/toggle-status - Toggle status
- GET /{client_id}/address - Get address info
- GET /{client_id}/programs - Get programs info
- GET /{client_id}/basic - Get basic info

GParts Module (/parts):
- POST / - Create part
- GET / - List all with pagination and filters
- GET /client/{client_key} - Get parts by client
- GET /search/fraction/{fraction} - Search by tariff fraction
- GET /search/supplier/{supplier} - Search by supplier
- GET /search/country/{country_code} - Search by country
- GET /statistics - Get parts statistics
- GET /{client_key}/{part_number} - Get specific part
- PUT /{client_key}/{part_number} - Update part
- DELETE /{client_key}/{part_number} - Delete part
- PATCH /{client_key}/{part_number}/toggle-status - Toggle status
- GET /{client_key}/{part_number}/basic - Get basic info
- GET /{client_key}/{part_number}/regulatory - Get regulatory info

GClass Module (/classes):
- POST / - Create class
- GET / - List all with pagination and filters
- GET /client/{client_key} - Get classes by client
- GET /search/fraction/{fraction} - Search by tariff fraction
- GET /search/material/{material_key} - Search by material
- GET /search/unit-measure/{unit_of_measure} - Search by unit of measure
- GET /search/physical-review/{physical_review} - Search by physical review status
- GET /statistics - Get class statistics
- GET /{client_key}/{class_code} - Get specific class
- PUT /{client_key}/{class_code} - Update class
- DELETE /{client_key}/{class_code} - Delete class
- GET /{client_key}/{class_code}/basic - Get basic info
- GET /{client_key}/{class_code}/tariff - Get tariff information

🏗️ Architecture:
- Modular design with models, DTOs, services, and routes for each entity
- English field names with composite primary keys where applicable
- Comprehensive CRUD operations with specialized search endpoints
- SQLAlchemy relationships with proper foreign key constraints
- Type-safe DTOs with Pydantic validation

📝 Documentation:
- RELATIONSHIPS.md: Complete documentation of database relationships
- Detailed type hints and comprehensive service methods
- Consistent patterns across all modules for maintainability
2025-11-04 21:48:05 -06:00
2b735c27b8 feat: Implement Code Pedimento Regimens Data Table
- Added columns definition for Code Pedimento Regimens including ID, Pedimento Code, Regimen Code, Type, and Actions.
- Created DataTableActions component for handling actions on each row.
- Developed data-table component to manage pagination and rendering of the data table.
- Introduced helper functions for rendering components and snippets in table cells.
- Integrated API call in the server-side load function to fetch Code Pedimento Regimens data with pagination support.
- Updated package.json to include lucide-svelte dependency for icons.
2025-11-02 13:15:05 -06:00
7adc90ac33 feat: implement authentication service with Keycloak and SSO support 2025-11-01 15:53:25 -05:00
2a10d7d267 feat: Add frontend and backend initialization scripts, implement Keycloak and PostgreSQL setup
- Implemented SvelteKit frontend with authentication callback handling.
- Created demo routes and paraglide localization functionality.
- Added health check and entrypoint scripts for backend services.
- Established PostgreSQL and Keycloak initialization scripts with health checks.
- Introduced models for database schema using SQLAlchemy.
- Configured Vite and SvelteKit for development and testing environments.
- Added health check script to verify service statuses and resource usage.
- Created Docker entrypoint scripts for seamless service startup.
2025-10-19 00:14:06 -05:00