- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Added FinanceRoutes to App component for navigation.
- Included FinanceSidebar in DashboardLayout to support finance-related views.
- Updated layout logic to handle finance-specific paths.
- 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.
- Integrated NewOrderItem component within a modal to facilitate the addition of new order items.
- Managed modal visibility state with useState hook.
- Updated ObjectTable to display order items associated with the purchase order.
- Enhanced InventorySidebar by adding new entries for Order Items and Shipments with corresponding icons and paths.
- Updated PurchaseOrderInfo to include a modal for adding new order items, integrating the NewOrderItem component and managing its visibility state.
- Adjusted label width in PartStockInfo and DocumentTemplateInfo for improved layout consistency.
- Modified the label rendering in ObjectTypeSelect to include a style adjustment, positioning the ObjectTypeDisplay component slightly higher for better visual alignment.