14 Commits

Author SHA1 Message Date
43464f8054 Refactor Delete Functionality Across Multiple Components
- Removed the delete action from various components including InvoiceInfo, PaymentInfo, and others to streamline functionality.
- Introduced a new DeleteObject component to handle deletion logic in a centralized manner, enhancing code maintainability.
- Updated models to utilize the new DeleteObject component for consistent deletion handling across the application.
- Simplified ObjectForm by eliminating the previous delete modal, improving component structure and clarity.
2026-08-22 21:06:32 +01:00
5ed086cf8b Enhance Sidebar and Object Models with List Action Integration
- Added a 'list' action to various object models, including AppPassword, AuditLog, Client, and more, to standardize access to list views across the application.
- Updated the ObjectModels.js to include a new label for the 'list' action, improving clarity in the permission matrix.
- Refactored Sidebar.js to incorporate user profile permissions for sidebar item visibility, enhancing user experience based on access rights.
- Introduced utility functions for normalizing paths and filtering sidebar items based on user permissions, streamlining sidebar management.
- Improved the overall structure and readability of the Sidebar and ObjectModels components.
2026-08-20 20:14:57 +01:00
24c06c25d3 Refactor JavaScript Language Support and Enhance Autocomplete Functionality
- Consolidated JavaScript completion sources into a new module, improving organization and maintainability.
- Updated the `fcTemplateLang` to utilize the new `javascriptCompletionSources` for enhanced autocomplete capabilities.
- Removed redundant imports and streamlined the code in various components, including Invoices, Payments, TaxRecords, and Inventory sections, by replacing dropdown actions with a unified `ObjectActions` component.
- Improved the handling of object actions across multiple inventory and finance components, enhancing user experience and code consistency.
2026-08-20 19:35:09 +01:00
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
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
7a5ea5416b Numerious fixes. 2026-05-17 19:11:25 +01:00
8e393e229f Implemented market places.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-03-13 23:32:23 +00: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
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
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
ca7ab55d1e Add sales module with client and sales order management features
- Introduced new SVG icons for client and sales order.
- Implemented SalesRoutes for navigation.
- Created components for managing clients and sales orders, including overview, client info, and order details.
- Added functionality for creating, editing, and canceling sales orders.
- Integrated sales statistics and actions within the dashboard layout.
2025-12-27 20:46:45 +00:00