14 Commits

Author SHA1 Message Date
f4635d9188 Refactor finance and inventory components to enhance modal handling and state management
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
- Integrated useEffect hooks in InvoiceInfo, PaymentInfo, and other components to utilize ActionsContext for managing modal states.
- Removed unused modal states and related code to streamline component logic.
- Added setCurrentObject prop to various components for improved object handling during state changes.
- Enhanced overall code maintainability and readability by consolidating modal logic and reducing redundancy.
2026-08-01 18:25:47 +01:00
9b17253c6d Enhance model filters across various database models to include '_reference' and additional fields
- Updated filters in multiple models such as AppPassword, AuditLog, Client, Courier, and others to include '_reference' and other relevant fields like 'createdAt' and 'updatedAt'.
- This change improves data handling and consistency across the application, ensuring that all necessary fields are available for filtering.
2026-08-01 14:26:34 +01:00
2df25364a0 Add URLs to various database models for improved navigation in the dashboard 2026-06-25 00:50:59 +01:00
75eeed16a0 Add plural labels to various database models 2026-06-25 00:47:12 +01:00
4501f9936f Refactor ProductSku and PartSku models to enforce required fields for overrideCost, overridePrice, and related properties. Update visibility logic for cost and price fields based on overrides, ensuring consistent data handling across components. Adjust NewProductSku and ProductInfo components to utilize updated default values and improve user experience.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-21 21:19:49 +01:00
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
8f369d777d Fixed product SKUs.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-06-20 22:27:17 +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
7611d11655 Refactor Filament, FilamentSku, PartSku, and ProductSku models to improve code readability by restructuring columns, filters, and sorters. Enhance Filament model with a visibility condition for the divider. Clean up formatting for better consistency across models.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-03-08 02:07:36 +00:00
6d1946b91a Added missing SKUs. 2026-03-08 01:07:29 +00:00
5ba205c6cc Implemented Part SKUs. 2026-03-07 23:34:07 +00:00
1882ec8e32 Implemented product skus.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-03-07 22:41:28 +00:00