import DashboardOverviewPage from '../common/DashboardOverviewPage' import StatsDisplay from '../common/StatsDisplay' import ModelHistoryDisplay from '../common/ModelHistoryDisplay' import ObjectTable from '../common/ObjectTable' const collapseDefaults = { partStockStats: true, filamentStockStats: true, productStockStats: true, purchaseOrderStats: true, stockEventStats: true, stockTransferStats: true, stockLocationStats: true, shipmentStats: true, partStockCountHistory: true, partStockValueHistory: true, newPartStocks: true, filamentStockCountHistory: true, filamentStockValueHistory: true, unconsumedFilamentStocks: true, productStockCountHistory: true, productStockValueHistory: true, draftProductStocks: true, purchaseOrderCountHistory: true, purchaseOrderAmountHistory: true, draftPurchaseOrders: true, stockEventHistory: true, stockTransferHistory: true, draftStockTransfers: true, sentPurchaseOrders: true, usedPartStocks: true, plannedShipments: true, shippedInboundShipments: true } const sections = [ { key: 'partStockStats', title: 'Part Stock Statistics', className: 'no-t-padding-collapse', content: }, { key: 'filamentStockStats', title: 'Filament Stock Statistics', className: 'no-t-padding-collapse', content: }, { key: 'productStockStats', title: 'Product Stock Statistics', className: 'no-t-padding-collapse', content: }, { key: 'purchaseOrderStats', title: 'Purchase Order Statistics', className: 'no-t-padding-collapse', content: }, { key: 'stockEventStats', title: 'Stock Event Statistics', className: 'no-t-padding-collapse', content: }, { key: 'stockTransferStats', title: 'Stock Transfer Statistics', className: 'no-t-padding-collapse', content: }, { key: 'stockLocationStats', title: 'Stock Location Statistics', className: 'no-t-padding-collapse', content: }, { key: 'shipmentStats', title: 'Shipment Statistics', className: 'no-t-padding-collapse', content: }, { key: 'partStockHistoryRow', type: 'row', columns: [ [ { key: 'partStockCountHistory', title: 'Part Stock Count History', content: ( ) } ], [ { key: 'partStockValueHistory', title: 'Part Stock Quantity History', content: ( ) } ] ] }, { key: 'filamentStockHistoryRow', type: 'row', columns: [ [ { key: 'filamentStockCountHistory', title: 'Filament Stock Count History', content: ( ) } ], [ { key: 'filamentStockValueHistory', title: 'Filament Stock Weight History', content: ( ) } ] ] }, { key: 'newPartAndUnconsumedFilamentRow', type: 'row', columns: [ [ { key: 'newPartStocks', title: 'New Part Stocks', content: ( ) } ], [ { key: 'unconsumedFilamentStocks', title: 'Unconsumed Filament Stocks', content: ( ) } ] ] }, { key: 'productStockHistoryRow', type: 'row', columns: [ [ { key: 'productStockCountHistory', title: 'Product Stock Count History', content: ( ) } ], [ { key: 'productStockValueHistory', title: 'Product Stock Quantity History', content: ( ) } ] ] }, { key: 'purchaseOrderHistoryRow', type: 'row', columns: [ [ { key: 'purchaseOrderCountHistory', title: 'Purchase Order Count History', content: ( ) } ], [ { key: 'purchaseOrderAmountHistory', title: 'Purchase Order Amount History', content: ( ) } ] ] }, { key: 'draftProductAndPurchaseOrderRow', type: 'row', columns: [ [ { key: 'draftProductStocks', title: 'Draft Product Stocks', content: ( ) } ], [ { key: 'draftPurchaseOrders', title: 'Draft Purchase Orders', content: ( ) } ] ] }, { key: 'stockEventAndTransferHistoryRow', type: 'row', columns: [ [ { key: 'stockEventHistory', title: 'Stock Event History', content: ( ) } ], [ { key: 'stockTransferHistory', title: 'Stock Transfer History', content: } ] ] }, { key: 'draftTransfersAndSentPurchaseOrdersRow', type: 'row', columns: [ [ { key: 'draftStockTransfers', title: 'Draft Stock Transfers', content: ( ) } ], [ { key: 'sentPurchaseOrders', title: 'Sent Purchase Orders', content: ( ) } ] ] }, { key: 'usedPartsAndPlannedShipmentsRow', type: 'row', columns: [ [ { key: 'usedPartStocks', title: 'Used Part Stocks', content: ( ) } ], [ { key: 'plannedShipments', title: 'Planned Shipments', content: ( ) } ] ] }, { key: 'shippedInboundShipmentsRow', type: 'row', columns: [ [ { key: 'shippedInboundShipments', title: 'Inbound Shipments In Transit', content: ( ) } ] ] } ] const InventoryOverview = () => { return ( ) } export default InventoryOverview