Commit Graph

160 Commits

Author SHA1 Message Date
Galindo97
2905e90a72 fix(pedimentos): change not_affect_usd_value and not_affect_customs_value types from bool to int in DTOs
fix(main): enable redirect_slashes in FastAPI app configuration
2026-01-30 10:12:48 -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
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
68a7c116f3 Merge branch 'feature/reportes_facturas' into development 2026-01-21 12:12:23 -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
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
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
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
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
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
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
86e1f7e8f6 feat(security): implement permission checks in tenant CRUD routes and enhance API error handling 2026-01-14 17:34:02 -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
e16eafec1b Se esta disenando mejor la parte de partes 2026-01-13 18:05:59 -06:00
0c43c252a4 Se completo la integracion del celery en la creacion de reportes 2026-01-13 14:22:15 -06:00
Galindo97
98c7fe3bb5 feat: Enhance invoice editing components with new dialogs and improved UI
- Added country selection dialog with search functionality.
- Introduced tariff fraction selection dialog with infinite scrolling and search.
- Implemented unit of measure selection dialog with search capabilities.
- Updated invoice editing UI to include new fields for line descriptions and identifiers.
- Improved layout and spacing for better user experience in invoice editing forms.
- Added API endpoints for fetching tariff fractions and units of measure with proper error handling.
2026-01-13 14:09:22 -06:00
0a1b6cd1e0 feat(company): add logo upload functionality and update logo field size 2026-01-13 13:06:14 -06:00
9d8e1283a8 Merge branch 'development' into feature/reportes_facturas 2026-01-13 11:40:24 -06:00
6214973eaf Implementacion de celery y problemas con relacioines 2026-01-13 11:27:58 -06:00
ce37aa77b2 Se edito el reporte de factura, se le puso las partidas, ademas se inicio todo el procedo de celery 2026-01-12 16:29:07 -06:00
Galindo97
659a9ea6cf fix(models): simplify foreign key constraints in UnitOfMeasureGeneral by removing tenant_id and company_id 2026-01-12 13:30:38 -06:00
7aa5b09d33 fix(models): simplify unique constraints by removing tenant_id and company_id 2026-01-12 12:49:58 -06:00
e960716fe4 Merge branch 'feature/invoices' into development 2026-01-12 12:31:22 -06:00
8dab1d6e46 feat: Implement Fixed Asset (FA) line item management
- Added new schemas for FA line items in the backend, including creation, update, and response DTOs.
- Updated existing line item schemas to include FA data.
- Modified database models to reflect new table names for line quantities and references.
- Enhanced ItemService to handle FA data during item creation and updates.
- Introduced new routes and service layer for FA line items, including CRUD operations.
- Updated frontend components to support FA line item data, including new fields and UI adjustments.
- Implemented data flattening for improved item display in the dashboard.
2026-01-12 12:23:40 -06:00
9201557645 Merge pull request 'feature/classes' (#48) from feature/classes into development
Reviewed-on: ADUANASOFT/anexo76#48
2026-01-12 17:41:23 +00:00
Galindo97
27e18c9d0b feat(database): add deleted_at column to units of measure tables and update DTO field lengths 2026-01-12 11:38:12 -06:00
Galindo97
0aea981cf1 feat(api): add Units of Measure API client with CRUD operations
- Implemented interfaces for UnitOfMeasure, UnitOfMeasureListResponse, CreateUnitOfMeasureData, and UpdateUnitOfMeasureData.
- Added API methods for listing, retrieving, creating, updating, and deleting units of measure.
- Included pagination support for the list method.
2026-01-12 10:36:43 -06:00
6845dcd670 feat: update unit of measure references and improve input handling in item service 2026-01-12 09:22:13 -06:00
6e4e14285d feat: enhance invoice validation and logistics handling for improved data integrity 2026-01-11 18:58:43 -06:00
8bf0ac8969 feat: add Pedimento relationship and update invoice handling for improved data management 2026-01-11 17:49:13 -06:00
20aff5ff7b Refactor invoice schemas and services for improved clarity and structure
- Updated schemas in `schemas.py` to enhance readability by aligning field definitions and descriptions.
- Consolidated optional fields and improved default values for better data handling.
- Modified the `InvoiceService` class in `services.py` to streamline error handling and data extraction for nested invoice components.
- Ensured that nested data is processed correctly before creating invoice entries, improving overall service reliability.
2026-01-11 17:09:04 -06:00
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
50ef340df8 Se creo la rutina de creacion de reportes parcial 2026-01-09 18:03:08 -06:00
9ce75c6bb4 Merge remote-tracking branch 'origin/development' into feature/reportes_facturas 2026-01-09 08:30:40 -06:00
ff2df90dbe WIP: Guardando trabajo antes de actualizar con development 2026-01-09 08:26:44 -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