369 Commits

Author SHA1 Message Date
0cc05d6690 Added pnpm lock.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-02-01 21:52:15 +00:00
775caaf1ac Switch to pnpm.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-02-01 21:42:52 +00:00
67b567f710 Fixed is skeleton bug
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-01-04 20:27:57 +00:00
1a65aa9306 Updated build status.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2025-12-29 02:43:15 +00:00
d5aea52658 Updated lockfile.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2025-12-28 18:27:08 +00:00
5301530c70 Added cloudflare api token and ensuring wrangler is installed.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2025-12-28 18:24:24 +00:00
21f61229e4 Upload artifacts to ci.
Some checks reported errors
farmcontrol/farmcontrol-ui/pipeline/head Something is wrong with the build of this commit
2025-12-28 18:04:32 +00:00
375e32a356 Fixed deploy stage.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2025-12-28 17:47:00 +00:00
e74d88d286 Use yarn for ci.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2025-12-28 17:25:29 +00:00
9ef8874418 Updated Jenkins file to work on 3x nodes.
Some checks reported errors
farmcontrol/farmcontrol-ui/pipeline/head Something is wrong with the build of this commit
2025-12-28 16:45:44 +00:00
84e98aa626 Add Payments Routes to Finance Module
- Introduced new routes for Payments and PaymentInfo components in the Finance module.
- Enhanced lazy loading for improved performance and user experience in the finance dashboard.
2025-12-28 02:10:47 +00:00
9d78473a2a Update SalesOrder model to refine state validation for invoice actions
- Enhanced the disabled logic for invoice actions by introducing a list of allowed states: 'delivered', 'sent', 'confirmed', 'shipped', 'partiallyDelivered', and 'partiallyShipped'.
- Simplified the return statement for better readability and maintainability.
2025-12-28 02:10:40 +00:00
b2b1cd4fe0 Enhance Invoice Model with New Payment and Acknowledgment Features
- Added a "New Payment" button to the Invoice model, allowing users to initiate payments based on invoice state.
- Introduced an "Acknowledge" button for invoices in the "sent" state, enabling acknowledgment actions.
- Updated the invoice grouping and filtering criteria to include "orderType" and "to/from" fields.
- Adjusted column definitions to improve layout and visibility of new fields, including "acknowledgedAt" and "paidAt".
- Enhanced the invoice summary calculations to include acknowledged counts and totals.
2025-12-28 02:10:31 +00:00
d52b89de43 Add New Invoice Modal to SalesOrderInfo Component
- Introduced a new modal for creating invoices within the SalesOrderInfo component.
- Implemented state management for the new invoice modal, allowing users to open and close it.
- Integrated NewInvoice component with default values for sales order processing.
2025-12-28 02:10:16 +00:00
b4a78f3c91 Add divider to InventorySidebar for improved item separation 2025-12-28 02:10:09 +00:00
4debbe13b8 Add canCollapse prop to InventoryOverview and SalesOverview components for layout control 2025-12-28 02:09:55 +00:00
2fd4870d21 Enhance ObjectProperty component to support size prop for improved layout control
- Added `size` prop to ObjectProperty component for better customization of input elements.
- Updated relevant instances in the component to utilize the new `size` prop, ensuring consistent styling across different usages.
2025-12-28 02:09:43 +00:00
210ae5975a Update InvoiceInfo component to include PaymentIcon import for enhanced payment visibility 2025-12-28 02:09:33 +00:00
6fc952be4d Add Payment Management Features
- Introduced Payment model and associated components for managing payments within the finance dashboard.
- Added PaymentIcon for visual representation in the sidebar and other components.
- Implemented Payments overview, including statistics and a new modal for creating payments.
- Enhanced InvoiceInfo component to include payment details and actions for acknowledging and posting payments.
- Updated database models to integrate payment functionalities, ensuring comprehensive financial tracking.
2025-12-28 02:09:01 +00:00
455c223ec0 Update SalesOrderInfo component to change syncAmount from 'itemCost' to 'itemPrice' for accurate order processing 2025-12-28 01:10:33 +00:00
6b983ca873 Enhance Shipment model and NewShipment component with invoicing fields
- Added new invoicing fields: invoicedAmount, invoicedAmountWithTax, invoicedAmountRemaining, and invoicedAmountWithTaxRemaining to the Shipment model.
- Updated NewShipment component to include the new invoicing fields in its initial state configuration for better shipment tracking and management.
2025-12-28 01:10:26 +00:00
4da63e6a32 Enhance PurchaseOrder components with new invoice modal and state management
- Added a new modal for creating invoices within the PurchaseOrderInfo component.
- Introduced state management for the new invoice modal, allowing users to open and close it.
- Updated PurchaseOrder model to include additional allowed states for invoice creation.
- Added a new field for 'completedAt' in the NewPurchaseOrder component for better order tracking.
2025-12-28 01:10:10 +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
bace57b436 Enhance Invoice management features with new PostInvoice functionality
- Added PostInvoice component for posting invoices with confirmation dialog.
- Updated InvoiceInfo component to include new invoice order items and shipments sections.
- Modified NewInvoice component to set default issued and due dates.
- Refactored Invoice model to include new fields for issuedAt, dueAt, invoiceOrderItems, and invoiceShipments.
- Updated action names from 'send' to 'post' for clarity in the invoice workflow.
2025-12-28 01:09:36 +00:00
0bf16d844e Refactor TimeDisplay component to improve time difference calculation
- Updated the time difference logic to handle both past and future dates more accurately.
- Simplified the calculation process by introducing base and compare dates.
- Enhanced the output format to include "in" for future dates and improved readability of time strings.
2025-12-28 01:09:11 +00:00
cefe77bc0e Enhance ObjectProperty component to support conditional input rendering
- Added `useFormItem` prop to control input rendering behavior.
- Refactored input rendering logic to streamline component structure and improve maintainability.
- Updated various input types to utilize the new `inputProps` for consistent handling of properties.
2025-12-28 01:09:02 +00:00
aa6fe3c839 Enhance ObjectForm component with custom merge logic for array handling
- Introduced a custom mergeWith function to handle array replacements during state updates.
- Updated initial form data setting to include computed values while maintaining editing state.
- Refactored update event handler to utilize the new merge logic for improved data management.
2025-12-28 01:08:54 +00:00
4bd9acdc11 Refactor ObjectChildTable component to enhance editing functionality
- Removed unused formListName prop and related logic for cleaner code.
- Introduced resolveChangeValue function to streamline value handling during edits.
- Updated cell rendering to include a new handleCellChange function for better state management.
- Simplified the component structure by eliminating unnecessary Form.List integration.
2025-12-28 01:08:46 +00:00
b38af41929 Add form validation to NewObjectForm component
- Implemented validation for form fields in the NewObjectForm component.
- Added logic to set form validity state based on validation results.
2025-12-28 01:08:35 +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
9fb884638f Add ActionsIcon component and corresponding SVG icon
- Introduced a new ActionsIcon component that utilizes an SVG for rendering.
- Updated ObjectTable to display the ActionsIcon in the actions column when applicable.
- Added the SVG file for the ActionsIcon to the assets/icons directory.
2025-12-27 21:22:44 +00:00
e2a81a8503 Update Invoice and PurchaseOrder models to replace 'customer' with 'client' and change 'processing' color to 'purple' 2025-12-27 20:52:11 +00:00
ceaf4715dc Add invoices and stock events sections to PurchaseOrderInfo component
- Introduced new icons for invoices and stock events.
- Added collapsible sections for displaying invoices and stock events related to purchase orders.
- Updated state management to handle the visibility of the new sections.
2025-12-27 20:52:02 +00:00
0dfb22b5cf Update StateTag component to include 'confirmed' status with purple color coding 2025-12-27 20:51:53 +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
8f65154691 Fixed vendor selection. 2025-12-27 20:00:18 +00:00
cd924780aa Updated icons. 2025-12-27 19:59:27 +00:00
24502dddfc Fixed charts lazy loading. 2025-12-27 17:25:04 +00:00
b3961871ff Fixed rollup. 2025-12-27 16:51:16 +00:00
01287f39ae Define mask for compat. 2025-12-27 16:38:43 +00:00
88e76e1d68 Fixed icon rollup. 2025-12-27 16:35:48 +00:00
919e6d192a Added pre-load animation. 2025-12-27 16:35:37 +00:00
309d825110 Bump deps. 2025-12-27 16:18:15 +00:00
ab9818d18f Added result logging. 2025-12-27 16:18:11 +00:00
72fea29593 Improved chuncking. 2025-12-27 16:17:38 +00:00
6eb9f8d37f Added rollup stats. 2025-12-27 16:17:09 +00:00
664bd7751f Fixed depreciated setting. 2025-12-27 16:16:30 +00:00
f462717bb3 Replaced moment with dayjs 2025-12-27 16:16:11 +00:00
7e1ec9f3ae Removed development logging. 2025-12-27 15:19:09 +00:00
f6986a45cd Fixed all warnings. 2025-12-27 15:06:02 +00:00