8 Commits

Author SHA1 Message Date
2622fae555 Implemented notifications.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-03-01 01:42:27 +00:00
6be21bd006 Refactor imports to use .jsx extension for hooks and components, and add new hooks for managing collapse state, column visibility, table data, table scroll, and view mode.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-02-28 18:05:47 +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
4a605ddc09 Enhance Purchase Order management with new actions and UI updates
- Updated NewPurchaseOrder component to set default state to 'draft'.
- Removed unnecessary item property display and added new properties for total amounts and shipping details.
- Introduced new PurchaseOrderInfo component to manage order items and shipments, including modals for creating new items and shipments, posting, acknowledging, and canceling orders.
- Enhanced PurchaseOrder model with new actions for editing, canceling edits, finishing edits, and deleting orders, along with updated visibility and disabled states based on order status.
- Added new properties to the PurchaseOrder model for better tracking of order states and financial details.
2025-12-27 13:52:50 +00:00
62a494509a Refactor shipment components and update shipment model
- Changed default shipment state from 'pending' to 'draft' in NewShipment component.
- Updated shipment information display to include new pricing and optional sections.
- Added modal dialogs for shipping, receiving, and canceling shipments in ShipmentInfo component.
- Enhanced Shipment model with new actions for editing, canceling edits, finishing edits, and managing shipment states.
- Introduced new properties for amount, tax rate, and tax amount in the Shipment model, along with updated sorting and filtering options.
2025-12-27 13:52:13 +00:00
1c586daf3b Add shipment management components
- Introduced CancelShipment, ReceiveShipment, and ShipShipment components for handling shipment actions.
- Each component includes a confirmation dialog and integrates with the ApiServerContext for respective operations.
- Added loading states and success messages for user feedback upon successful actions.
2025-12-27 13:51:43 +00:00
d7827ecb6d Implemented new message context. 2025-12-14 23:06:42 +00:00
3673a7a1ec Add Order Items and Shipments components with associated icons and forms
- Introduced OrderItems and Shipments components for managing order items and shipments.
- Added NewOrderItem and NewShipment forms for creating new entries.
- Implemented ObjectTable for displaying lists in different view modes.
- Created SVG icons for OrderItem and Shipment.
- Removed deprecated OrderItemsIcon component.
2025-12-07 02:39:45 +00:00