Commit Graph

26 Commits

Author SHA1 Message Date
afba0332b1 feat: implementacion inicial descargo de peps 2026-02-03 13:06:56 -06:00
3cbe4e843f fix(models, schemas, service): remove weight_unit field and update part_number references 2026-01-23 12:20:43 -06:00
2a2ad27ad1 Merge branch 'fix/id-items' into development 2026-01-22 17:41:59 -06:00
Galindo97
b564701dc3 fix(validators): add required validations for customs fields in item creation and update
feat(item-sheet): implement cancel functionality to restore original item data
2026-01-22 12:54:26 -06:00
Galindo97
0782e784ac fix(validators): update part_number_id validation to be optional in item creation 2026-01-22 12:26:57 -06:00
Galindo97
9b32c019ef feat(line_items): update part number and component part number fields to use integers; enhance schemas and services for better data handling 2026-01-22 09:52:21 -06:00
f7ac2d50c3 fix: update part_number and component_part_number fields in various schemas and components 2026-01-21 16:16:55 -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
Galindo97
123cdb522b feat(validation): enhance item validation and update UI components for required fields 2026-01-21 11:11:54 -06:00
673467ec70 Merge branch 'feature/items-validation' into development 2026-01-20 12:58:10 -06:00
Galindo97
dd6c832674 feat(validation): implement comprehensive validation for item creation and updates 2026-01-20 12:53:08 -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
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
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
6845dcd670 feat: update unit of measure references and improve input handling in item service 2026-01-12 09:22:13 -06:00
AlexeerCT
c725a6b11a feat: Refactor line item schemas and service methods for improved readability and consistency 2026-01-08 16:25:28 -06:00
AlexeerCT
c040679fc5 feat: Enhance invoice item management with detailed line item structure
- Introduced nested interfaces for line items including customs, financials, quantities, descriptions, and references.
- Updated Item interface to include lines as an array of LineItem.
- Modified invoice top fields to handle pedimento ID and auto-assign values from the invoice.
- Enhanced item configuration component to manage line item properties and descriptions.
- Updated main data, packages section, summary section, and other components to bind new line item properties.
- Implemented normalization of numeric values when editing items to ensure consistent data types.
- Adjusted save invoice logic to accommodate new line item structure and compliance data.
2026-01-08 16:24:34 -06:00
AlexeerCT
9fe07e78a6 feat: refactor invoice compliance fields to use foreign keys and enhance validation logic 2026-01-06 18:01:26 -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
1b856a2713 feat: Add models for line items and their series, including detailed attributes for item tracking and classification 2025-12-19 09:18:30 -06:00