11 Commits

Author SHA1 Message Date
6fd375b4c9 Update columnWidth property to 180 for multiple models to ensure consistent UI layout across the application.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-21 18:14:54 +01:00
247bcc0ee5 Refactor cost and price calculations across multiple models to return 0 instead of undefined when no cost or price is provided. This change ensures consistent handling of missing values in Filament, FilamentSku, Invoice, OrderItem, Part, PartSku, and ProductSku models. 2026-06-20 01:41:00 +01:00
7a5ea5416b Numerious fixes. 2026-05-17 19:11:25 +01:00
e82d7e10df Refactor database models to improve column order and add column width properties for better layout consistency across various models.
Some checks are pending
farmcontrol/farmcontrol-ui/pipeline/head Build queued...
2026-03-13 21:14:52 +00:00
6d1946b91a Added missing SKUs. 2026-03-08 01:07:29 +00:00
de74fb0668 Enhance OrderItem model and components with new invoicing fields
- Added new fields for invoicing, including invoicedAmount, invoicedAmountWithTax, invoicedQuantity, and their remaining counterparts in the OrderItem model.
- Updated NewOrderItem and OrderItemInfo components to include visibility settings for the new invoicing fields.
- Adjusted label widths in OrderItemInfo for better layout consistency.
2025-12-28 01:09:57 +00:00
2fbafc5396 Refactor database models to replace '_id' with '_reference' in columns
- Updated multiple models to change the column identifier from '_id' to '_reference' for consistency across the database schema.
- Adjusted relevant filters and properties to align with the new column naming convention.
2025-12-27 21:22:59 +00:00
769229aacb Updated NewOrderItem component to set default state to 'draft' and added an optional section for shipment details.
New actions for editing, canceling edits, finishing edits, and deleting items, along with visibility and disabled states based on item status.
2025-12-27 13:54:14 +00:00
a4e68b5088 Updated models. 2025-12-13 21:06:01 +00:00
705c517acf Added totalTime field to Job and SubJob models for duration calculation, and updated OrderItem model to include reference field and reorder properties for improved data structure. 2025-12-09 02:11:43 +00:00
f24bc27e2c Add OrderItem and Shipment models to database schema
- Introduced OrderItem and Shipment models with associated properties and actions.
- Updated ObjectModels to include new models for better integration.
- Refactored existing models to remove unnecessary ID references and improve hyperlink support for related objects.
- Enhanced various models by removing deprecated fields and ensuring consistency in object references.
2025-12-07 02:41:17 +00:00