Commit Graph

303 Commits

Author SHA1 Message Date
f7ac2d50c3 fix: update part_number and component_part_number fields in various schemas and components 2026-01-21 16:16:55 -06:00
7658c19661 Merge pull request 'fix(api): update package endpoint URLs to include trailing slashes' (#63) from fix/packages into development
Reviewed-on: ADUANASOFT/anexo76#63
2026-01-21 19:31:24 +00:00
b98f4c3bb2 fix(api): update package endpoint URLs to include trailing slashes 2026-01-21 13:20:39 -06:00
5db940b518 refactor(models): clean up whitespace and update has_express_line type in Company model 2026-01-21 13:09:29 -06:00
ce8712436e fix(models): update import path for CompanyVU submodel in models.py 2026-01-21 12:58:40 -06:00
4041a33b69 refactor(line_items): reorganize imports and clean up whitespace in models.py 2026-01-21 12:47:53 -06:00
2a468cc859 fix(models): update Company model to extend existing schema and clean up LineItem model 2026-01-21 12:27:08 -06:00
337e99b291 Merge pull request 'feat(states): add initial seed data and update State model with foreign key' (#62) from feature/states into development
Reviewed-on: ADUANASOFT/anexo76#62
2026-01-21 18:14:12 +00:00
b446263c46 Merge pull request 'fix/production' (#61) from fix/production into development
Reviewed-on: ADUANASOFT/anexo76#61
2026-01-21 18:13:46 +00:00
0703b9a091 Merge pull request 'fix(class-dialog): correct data structure for class items retrieval' (#60) from feature/items-validation into fix/production
Reviewed-on: ADUANASOFT/anexo76#60
2026-01-21 18:13:19 +00:00
68a7c116f3 Merge branch 'feature/reportes_facturas' into development 2026-01-21 12:12:23 -06:00
Galindo97
36db657601 fix(class-dialog): correct data structure for class items retrieval 2026-01-21 11:49:41 -06:00
a5daf0bd86 fix(dto): change customs_code type from str to int in multiple DTO classes 2026-01-21 11:48:28 -06:00
6284aefcf0 Se arreglo los consolidados y se agrego los transportes 2026-01-21 11:48:11 -06:00
13ddf0cf73 Merge pull request 'feature/items-validation' (#58) from feature/items-validation into fix/production
Reviewed-on: ADUANASOFT/anexo76#58
2026-01-21 17:16:22 +00:00
Galindo97
123cdb522b feat(validation): enhance item validation and update UI components for required fields 2026-01-21 11:11:54 -06:00
3d39360f9c Se introdujo el sistema de consolidados 2026-01-21 09:47:28 -06:00
9a0cc4487d feat(states): add initial seed data and update State model with foreign key 2026-01-20 13:42:00 -06:00
673467ec70 Merge branch 'feature/items-validation' into development 2026-01-20 12:58:10 -06:00
9eb9abca23 Merge pull request 'add/tables' (#57) from add/tables into development
Reviewed-on: ADUANASOFT/anexo76#57
2026-01-20 18:54:41 +00:00
ef94929fd9 Merge pull request 'feat: Implement multi-tenancy support in middleware and security layers' (#15) from feature/security into development
Reviewed-on: ADUANASOFT/anexo76#15
2026-01-20 18:54:10 +00:00
0831dd0ab2 Merge pull request 'feature/items' (#56) from feature/items into development
Reviewed-on: ADUANASOFT/anexo76#56
2026-01-20 18:53:49 +00:00
Galindo97
dd6c832674 feat(validation): implement comprehensive validation for item creation and updates 2026-01-20 12:53:08 -06:00
Galindo97
ba353493d3 feat(invoice): enhance invoice update validation and payload construction 2026-01-19 13:38:06 -06:00
Galindo97
9567a584a5 feat: enhance various components with new fields and improved styling for better user experience 2026-01-16 17:15:17 -06:00
53f3915de2 Se mejor el estilo del reporte, ademas de que se corrigio el id en partes 2026-01-16 15:47:04 -06:00
c5ea8d5868 Se quito el id de partes y se quito el sticky de las tablas 2026-01-16 14:14:48 -06:00
210f2d85d8 fix(reports): update invoice headers, pedimento formatting and value priority 2026-01-16 13:18:34 -06:00
238d728305 Puliendo reporte y disenio de partes 2026-01-16 13:17:41 -06:00
5b08158d55 Se arreglo el problema de la columna 2026-01-16 13:17:41 -06:00
Galindo97
eb03237f44 feat(company): add submodels for Company including address, certification, digital certificate, electronic agent, prevalidator, and VU configurations 2026-01-16 09:26:06 -06:00
Galindo97
12f5164054 feat: Implement admin role and permission management APIs
- Added centralized API exports for admin functionalities.
- Created permissions API for managing system permissions, including listing, creating, updating, and deleting permissions.
- Developed role-permissions API for managing permissions assigned to roles, including listing, assigning, and removing permissions.
- Implemented roles API for managing company roles, including listing, creating, updating, and deleting roles.
- Created user-permissions API for managing individual user permissions, including assigning and revoking permissions.
- Developed user-roles API for managing user roles, including listing roles assigned to users and assigning/removing roles.
- Added utility functions for permission checks and route guards based on user permissions.
- Implemented admin dashboard layout and roles management page with UI components for role and permission management.
2026-01-15 18:00:05 -06:00
4f7a0442b4 Eliminar backend/app_data/logos/1/logo2.jpg 2026-01-15 19:27:47 +00:00
8fcff2ad08 Eliminar backend/app_data/logos/1/footer.png 2026-01-15 19:27:42 +00:00
32123ec511 Eliminar backend/app_data/logos/1/a519dfd146c1bd477bcd841afe02d7de.jpg 2026-01-15 19:27:37 +00:00
f817878742 Eliminar backend/app_data/logos/1/Agenda.png 2026-01-15 19:27:32 +00:00
d02b0dc703 Eliminar backend/app_data/logos/1/AS.png 2026-01-15 19:27:25 +00:00
606d5c1140 Eliminando carpeta basura 2026-01-15 19:25:16 +00:00
0a02a3e912 Se mejoro el disenio de partes, se genero la informacion mas precisa en los reportes y se carga el logo en las instanacias de las empresas 2026-01-15 13:20:34 -06:00
68fc7506db fix(security): update permissions seeding to use 'module' instead of 'resource' 2026-01-15 08:26:41 -06:00
Galindo97
7e9a1acd30 feat: Add new fields for invoice logistics and line items, enhance UI for class selection 2026-01-15 08:12:00 -06:00
056909b17f feat(users): enhance user management with company-specific API calls and access validation 2026-01-15 08:10:01 -06:00
86e1f7e8f6 feat(security): implement permission checks in tenant CRUD routes and enhance API error handling 2026-01-14 17:34:02 -06:00
4f38328031 refactor(customs-brokers): streamline CustomsBroker interface and update API methods 2026-01-14 17:33:54 -06:00
fca122759c Implement multi-tenant permission management module
- Added Pydantic schemas for permission-related requests and responses in `schemas.py`.
- Created seed data for various permissions and roles in `seed.py`.
- Developed a `PermissionService` class in `service.py` to handle permission logic, including user role assignments and direct permission grants.
- Implemented unit tests for permission functionalities in `test_permissions.py`, covering role assignments, permission checks, and expiration handling.
- Seeded trailer types data in `trailer_types/seed.py`.
2026-01-14 15:55:44 -06:00
4079a0cc0f Refactor database models to use server defaults for boolean and timestamp fields
- Updated `TimestampMixin` to use `server_default` for `created_at` and `updated_at` fields.
- Modified various models in the `fa_classes`, `doc_types_dig`, `ports`, `units_of_measure`, `invoices`, `parts`, `trailers`, `licenses`, `tenants`, and `user_tenant` modules to set `server_default` for boolean fields and other relevant fields.
- Adjusted the `trailer_types` model to change the schema from `a76` to `public`.
- Implemented database migration execution during application startup in `main.py`.
- Removed old Alembic migration execution logic from the entrypoint script.
- Updated seed data for units of measure and removed unused seed files.
2026-01-14 15:54:37 -06:00
ae1d7f0c58 Se mejoro el disenio de agentes y clientes-proveedores 2026-01-14 12:47:01 -06:00
e16eafec1b Se esta disenando mejor la parte de partes 2026-01-13 18:05:59 -06:00
afb3669c59 feat(sidebar): add user and company initials display in avatar fallback 2026-01-13 17:16:55 -06:00
8a3d0eccec Merge pull request 'feat: update upload path to /api/uploads and improve URL handling in getBackendAssetUrl' (#55) from fix/production-assets into development
Reviewed-on: ADUANASOFT/anexo76#55
2026-01-13 21:45:17 +00:00