Commit Graph

13 Commits

Author SHA1 Message Date
0a68454593 6feature/fix-en-base-a-scaii 2026-03-18 13:22:45 -06:00
dada17b54c Partidas por tipo de factura en importacion 2026-03-13 17:38:30 -05:00
795786a043 Update depreciation_date field type to Date in LineItem model
- Changed the type of the depreciation_date field from Integer to Date in the LineItem model to enhance date accuracy and compliance with SQLAlchemy v2 standards.
2026-03-13 13:37:00 -05:00
a74e1d746c Update depreciation_date field type in models and schemas
- Changed the type of the depreciation_date field from Optional[int] to Optional[datetime] in the LineItem model and LineItemBase schema for improved accuracy in date representation.
- Updated the frontend interface to reflect the change, altering depreciation_date from number to string to accommodate the new datetime format.
2026-03-13 13:32:47 -05:00
af93ad9d8a feat: simplify relationship definitions for FaLineItem in ORM models 2026-02-19 10:35:04 -06:00
d4b52b32ed feat: enhance audit log functionality with tenant_id handling and optional seed data in initialization script 2026-02-18 12:58:11 -06:00
b94d0ac7fb refactor: restructure item interfaces and update related components
- Renamed LineItem interface to Item and adjusted properties accordingly.
- Updated CreateItemData and UpdateItemData interfaces to reflect new structure.
- Modified components to use the new Item interface, removing nested lines.
- Adjusted data binding in item configuration, main data, and other related components.
- Simplified item creation and editing logic by removing unnecessary nesting.
- Ensured all references to line items are updated to reflect the new structure.
2026-02-18 09:56:50 -06:00
dbf4b63675 Se termino el modulo de reportes 2026-02-05 08:22:59 -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