318 Commits

Author SHA1 Message Date
94406a1bfc Add Invoice model to objectModels and re-export for direct access. 2025-12-27 13:55:21 +00:00
a0e09508f4 Update Job and Printer models to change 'info' color to 'processing' for printing count. 2025-12-27 13:55:07 +00:00
2bbb068621 Add FinanceIcon component. 2025-12-27 13:54:44 +00:00
8b6dbff9ff Add Purchase Order Statistics section to InventoryOverview component
- Introduced a new collapsible section for Purchase Order Statistics.
- Updated collapse state management to include purchaseOrderStats.
- Integrated StatsDisplay component to show relevant purchase order data.
2025-12-27 13:54:31 +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
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
57e90e2b6f Add additional states to StateTag component
- Introduced new states: 'sent', 'acknowledged', 'ordered', 'received', 'invoiced', 'planned', 'partiallyShipped', 'shipped', 'delivered', and 'paid' with corresponding badge statuses and texts.
- Updated badge properties to handle custom colors for non-standard statuses.
2025-12-27 13:51:10 +00:00
50bc816e97 Added edit mode to tables. 2025-12-27 13:50:30 +00:00
38cafdb4a4 Bug fix: re-render tree when type, masterFiter etc changes. 2025-12-27 13:50:17 +00:00
556b16a5dc Add fixedNumber prop to ObjectProperty component for number formatting. 2025-12-27 13:49:26 +00:00
ab56a3abd4 Add navigation after object deletion in ObjectForm component. 2025-12-27 13:49:13 +00:00
100bfb69dc Initialize objectData state with defaultValues and set _isEditing to true in NewObjectForm component 2025-12-27 13:48:55 +00:00
1b6137fe77 Add Acknowledge, Cancel, and Post Purchase Order components
- Introduced AcknowledgePurchaseOrder, CancelPurchaseOrder, and PostPurchaseOrder components for managing purchase order actions.
- Each component includes a confirmation dialog and integrates with the ApiServerContext for handling respective operations.
- Added loading states and success messages for user feedback upon successful actions.
2025-12-27 13:48:42 +00:00
f83069a7fb Add updateMultipleObjects and sendObjectFunction methods to ApiServerContext
- Implemented updateMultipleObjects for batch updates of objects via PUT request.
- Added sendObjectFunction to invoke specific functions on objects with POST requests.
- Enhanced error handling for both methods to retry on failure.
2025-12-27 13:47:45 +00:00
a7cd374375 Refactor StatsDisplay component to use Tag and Badge for visual indicators
- Replaced Alert with Tag for displaying stat colors.
- Updated color mapping function to return Tag colors instead of Alert types.
- Enhanced layout and styling for better visual representation of stats.
- Introduced Badge component for status indication alongside stat labels.
2025-12-27 13:47:19 +00:00
b3c5357064 Enhance color theme in HistoryDisplay and ThemeContext
- Updated color mapping in HistoryDisplay to include new colors: cyan, pink, purple, magenta, and volcano.
- Added corresponding color definitions in ThemeContext for improved theme customization.
2025-12-27 13:46:58 +00:00
0a780b6d85 Add MessageDialogView component for displaying messages. 2025-12-27 13:46:26 +00:00
c03a47a833 Integrate Finance routes and sidebar into the dashboard layout
- Added FinanceRoutes to App component for navigation.
- Included FinanceSidebar in DashboardLayout to support finance-related views.
- Updated layout logic to handle finance-specific paths.
2025-12-27 13:46:06 +00:00
cabc68c932 Add finance dashboard components and routes
- Introduced FinanceOverview, FinanceSidebar, and Invoices components for the finance dashboard.
- Added InvoiceInfo and NewInvoice components for managing invoices.
- Created SVG icons for finance and invoice.
- Updated routing to include finance-related paths.
- Enhanced DashboardBreadcrumb and DashboardNavigation to support finance navigation.
- Defined Invoice model with actions and properties for invoice management.
2025-12-27 13:45:26 +00:00
d7827ecb6d Implemented new message context. 2025-12-14 23:06:42 +00:00
c6088361cd Change port back. 2025-12-14 23:06:27 +00:00
5e7e9510fb Refactored electron code and added spotlight feature. 2025-12-14 22:11:23 +00:00
d86a0a3c09 Added routes json for cloudflare. 2025-12-13 21:58:42 +00:00
dffbb9d8e5 Updated icon. 2025-12-13 21:06:05 +00:00
a4e68b5088 Updated models. 2025-12-13 21:06:01 +00:00
bbadede777 Used computed on object save. 2025-12-13 21:05:47 +00:00
3b3d4e3ff0 Changed production config. 2025-12-13 21:05:35 +00:00
c3b695b76c Updated NetGrossDisplay component to parse net and gross values as floats for accurate numerical representation. 2025-12-13 21:05:20 +00:00
045948dbcc Added wrangler support. 2025-12-13 21:05:03 +00:00
1486790292 Added code splitting for performance. 2025-12-13 21:04:48 +00:00
236f0606fd Added design files 2025-12-09 02:16:29 +00:00
34d919d88e Updated @ant-design/charts dependency from version 2.6.2 to 2.6.5 in package.json and yarn.lock for improved features and bug fixes. 2025-12-09 02:11:52 +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
c96f223176 Added labelWidth property to PrinterInfo component for improved layout consistency. 2025-12-09 02:10:53 +00:00
bf1b61179f Added labelWidth property to ObjectInfo components in NewJob and NewPrinter for consistent layout adjustments. 2025-12-09 02:10:45 +00:00
d8bfc19917 Added new InfoCollapse sections for Online Printers and Queued Jobs in ProductionOverview, including ObjectTable components for data display and updated collapse states for better user interaction. 2025-12-09 02:10:35 +00:00
5f33ed69fb Refined interval calculation in ApiServerProvider to adjust polling frequency based on time range, introducing new thresholds for intervals over 1, 2, and 3 days. 2025-12-09 02:10:23 +00:00
b7e81e2caa Enhanced ObjectSelect component to handle array inputs by normalizing values to a string of IDs, improving identity detection for in-place updates. 2025-12-09 02:10:09 +00:00
7f11168b25 Updated App.css to include new styles for picker components and adjusted button width for outlined variant. 2025-12-09 02:09:56 +00:00
3d17a08a71 Enhanced HistoryDisplay component with custom date range selection and improved loading states. 2025-12-09 02:09:48 +00:00
2d2aff125c Added destroyOnHidden property to the new job modal for improved resource management. 2025-12-09 02:09:36 +00:00
7a4dec3f54 Added total weight to filament stocks. 2025-12-08 23:03:47 +00:00
f2036a7a69 API stats implementation. 2025-12-08 23:03:20 +00:00
0a1540325b Updated colours to match theme. 2025-12-08 23:03:04 +00:00
d3a3aafb04 Change to now go to overview page by default. 2025-12-08 23:02:50 +00:00
32373ba350 Added parent type to note. 2025-12-08 23:02:25 +00:00
35a6b847e6 Added inventory overview. 2025-12-08 23:01:34 +00:00
98ca73791f Overhauled printer overview page (now working, with charts and realtime updates to current state) 2025-12-08 23:00:58 +00:00