diff --git a/src/components/Dashboard/Finance/Invoices/InvoiceInfo.jsx b/src/components/Dashboard/Finance/Invoices/InvoiceInfo.jsx index 6b6023c8..0a4efaea 100644 --- a/src/components/Dashboard/Finance/Invoices/InvoiceInfo.jsx +++ b/src/components/Dashboard/Finance/Invoices/InvoiceInfo.jsx @@ -27,7 +27,10 @@ import InfoCollapsePlaceholder from '../../common/InfoCollapsePlaceholder.jsx' import InfoActionButtons from '../../common/InfoActionButtons.jsx' import UserNotifierToggle from '../../common/UserNotifierToggle.jsx' import ScrollBox from '../../common/ScrollBox.jsx' -import { getModelProperty, getModelByName } from '../../../../database/ObjectModels.js' +import { + getModelProperty, + getModelByName +} from '../../../../database/ObjectModels.js' import OrderItemIcon from '../../../Icons/OrderItemIcon.jsx' import ShipmentIcon from '../../../Icons/ShipmentIcon.jsx' @@ -91,7 +94,7 @@ const InvoiceInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -100,6 +103,7 @@ const InvoiceInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -257,7 +261,9 @@ const InvoiceInfo = () => { ) : ( )} @@ -274,7 +280,7 @@ const InvoiceInfo = () => { indicator={} > - + @@ -291,10 +297,7 @@ const InvoiceInfo = () => { diff --git a/src/components/Dashboard/Finance/PaymentPolicies/PaymentPolicyInfo.jsx b/src/components/Dashboard/Finance/PaymentPolicies/PaymentPolicyInfo.jsx index bbd4472d..a406c24e 100644 --- a/src/components/Dashboard/Finance/PaymentPolicies/PaymentPolicyInfo.jsx +++ b/src/components/Dashboard/Finance/PaymentPolicies/PaymentPolicyInfo.jsx @@ -93,7 +93,7 @@ const PaymentPolicyInfo = () => { diff --git a/src/components/Dashboard/Finance/Payments/PaymentInfo.jsx b/src/components/Dashboard/Finance/Payments/PaymentInfo.jsx index e5cee399..352e3269 100644 --- a/src/components/Dashboard/Finance/Payments/PaymentInfo.jsx +++ b/src/components/Dashboard/Finance/Payments/PaymentInfo.jsx @@ -84,7 +84,7 @@ const PaymentInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -93,6 +93,7 @@ const PaymentInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -209,7 +210,7 @@ const PaymentInfo = () => { indicator={} > - + diff --git a/src/components/Dashboard/Finance/TaxRecords/TaxRecordInfo.jsx b/src/components/Dashboard/Finance/TaxRecords/TaxRecordInfo.jsx index 36c8e145..28f5151f 100644 --- a/src/components/Dashboard/Finance/TaxRecords/TaxRecordInfo.jsx +++ b/src/components/Dashboard/Finance/TaxRecords/TaxRecordInfo.jsx @@ -77,7 +77,7 @@ const TaxRecordInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -85,14 +85,14 @@ const TaxRecordInfo = () => { { indicator={} > - + @@ -212,10 +212,8 @@ const TaxRecordInfo = () => { diff --git a/src/components/Dashboard/Inventory/FilamentStocks/FilamentStockInfo.jsx b/src/components/Dashboard/Inventory/FilamentStocks/FilamentStockInfo.jsx index 2081d4dd..bcf7d220 100644 --- a/src/components/Dashboard/Inventory/FilamentStocks/FilamentStockInfo.jsx +++ b/src/components/Dashboard/Inventory/FilamentStocks/FilamentStockInfo.jsx @@ -87,14 +87,14 @@ const FilamentStockInfo = () => { { ) : ( )} @@ -232,7 +237,7 @@ const FilamentStockInfo = () => { indicator={} > - + @@ -251,10 +256,10 @@ const FilamentStockInfo = () => { diff --git a/src/components/Dashboard/Inventory/OrderItems/OrderItemInfo.jsx b/src/components/Dashboard/Inventory/OrderItems/OrderItemInfo.jsx index 62acec34..060912e0 100644 --- a/src/components/Dashboard/Inventory/OrderItems/OrderItemInfo.jsx +++ b/src/components/Dashboard/Inventory/OrderItems/OrderItemInfo.jsx @@ -78,7 +78,7 @@ const OrderItemInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -88,6 +88,7 @@ const OrderItemInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -96,7 +97,7 @@ const OrderItemInfo = () => { { indicator={} > - + @@ -223,10 +224,8 @@ const OrderItemInfo = () => { diff --git a/src/components/Dashboard/Inventory/PartStocks/PartStockInfo.jsx b/src/components/Dashboard/Inventory/PartStocks/PartStockInfo.jsx index c48b0d8d..f168493d 100644 --- a/src/components/Dashboard/Inventory/PartStocks/PartStockInfo.jsx +++ b/src/components/Dashboard/Inventory/PartStocks/PartStockInfo.jsx @@ -93,6 +93,7 @@ const PartStockInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -101,7 +102,7 @@ const PartStockInfo = () => { { ) : ( )} @@ -251,7 +255,7 @@ const PartStockInfo = () => { indicator={} > - + @@ -271,10 +275,8 @@ const PartStockInfo = () => { diff --git a/src/components/Dashboard/Inventory/ProductStocks/ProductStockInfo.jsx b/src/components/Dashboard/Inventory/ProductStocks/ProductStockInfo.jsx index 0fd450cf..cdc3bf1e 100644 --- a/src/components/Dashboard/Inventory/ProductStocks/ProductStockInfo.jsx +++ b/src/components/Dashboard/Inventory/ProductStocks/ProductStockInfo.jsx @@ -109,6 +109,7 @@ const ProductStockInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > diff --git a/src/components/Dashboard/Inventory/PurchaseOrders/PurchaseOrderInfo.jsx b/src/components/Dashboard/Inventory/PurchaseOrders/PurchaseOrderInfo.jsx index fc3fc4ce..6b492e04 100644 --- a/src/components/Dashboard/Inventory/PurchaseOrders/PurchaseOrderInfo.jsx +++ b/src/components/Dashboard/Inventory/PurchaseOrders/PurchaseOrderInfo.jsx @@ -102,7 +102,7 @@ const PurchaseOrderInfo = () => { orderItemsTableRef?.current?.handleUpdate?.() objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -111,6 +111,7 @@ const PurchaseOrderInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -230,7 +231,10 @@ const PurchaseOrderInfo = () => { { { { )} @@ -314,7 +327,7 @@ const PurchaseOrderInfo = () => { indicator={} > - + @@ -331,10 +344,10 @@ const PurchaseOrderInfo = () => { diff --git a/src/components/Dashboard/Inventory/Shipments/PurchaseOrderInfo.jsx b/src/components/Dashboard/Inventory/Shipments/PurchaseOrderInfo.jsx index 3fbbb226..233739a9 100644 --- a/src/components/Dashboard/Inventory/Shipments/PurchaseOrderInfo.jsx +++ b/src/components/Dashboard/Inventory/Shipments/PurchaseOrderInfo.jsx @@ -121,6 +121,7 @@ const PurchaseOrderInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -129,7 +130,7 @@ const PurchaseOrderInfo = () => { { { { indicator={} > - + @@ -294,10 +301,10 @@ const PurchaseOrderInfo = () => { diff --git a/src/components/Dashboard/Inventory/Shipments/ShipmentInfo.jsx b/src/components/Dashboard/Inventory/Shipments/ShipmentInfo.jsx index 7251629f..b2fef014 100644 --- a/src/components/Dashboard/Inventory/Shipments/ShipmentInfo.jsx +++ b/src/components/Dashboard/Inventory/Shipments/ShipmentInfo.jsx @@ -96,6 +96,7 @@ const ShipmentInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > diff --git a/src/components/Dashboard/Inventory/StockAudits/StockAuditInfo.jsx b/src/components/Dashboard/Inventory/StockAudits/StockAuditInfo.jsx index c452b271..ed3cb69f 100644 --- a/src/components/Dashboard/Inventory/StockAudits/StockAuditInfo.jsx +++ b/src/components/Dashboard/Inventory/StockAudits/StockAuditInfo.jsx @@ -26,7 +26,10 @@ import ObjectTable from '../../common/ObjectTable.jsx' import InfoCollapsePlaceholder from '../../common/InfoCollapsePlaceholder.jsx' import InfoActionButtons from '../../common/InfoActionButtons.jsx' import UserNotifierToggle from '../../common/UserNotifierToggle.jsx' -import { getModelProperty, getModelByName } from '../../../../database/ObjectModels.js' +import { + getModelProperty, + getModelByName +} from '../../../../database/ObjectModels.js' import ScrollBox from '../../common/ScrollBox.jsx' const log = loglevel.getLogger('StockAuditInfo') @@ -92,6 +95,7 @@ const StockAuditInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -180,7 +184,9 @@ const StockAuditInfo = () => { title='Stock Audit Information' icon={} active={collapseState.info} - onToggle={(expanded) => updateCollapseState('info', expanded)} + onToggle={(expanded) => + updateCollapseState('info', expanded) + } collapseKey='info' > { title='Audit Logs' icon={} active={collapseState.auditLogs} - onToggle={(expanded) => - updateCollapseState('auditLogs', expanded) - } + onToggle={(expanded) => updateCollapseState('auditLogs', expanded)} collapseKey='auditLogs' > {objectFormState.loading ? ( @@ -274,9 +278,7 @@ const StockAuditInfo = () => { type='auditLog' masterFilter={{ parent: - getModelByName('stockAudit').prefix + - ':' + - stockAuditId + getModelByName('stockAudit').prefix + ':' + stockAuditId }} visibleColumns={{ _id: false, parent: false }} /> diff --git a/src/components/Dashboard/Inventory/StockLocations/StockLocationInfo.jsx b/src/components/Dashboard/Inventory/StockLocations/StockLocationInfo.jsx index c2fafd0f..594db821 100644 --- a/src/components/Dashboard/Inventory/StockLocations/StockLocationInfo.jsx +++ b/src/components/Dashboard/Inventory/StockLocations/StockLocationInfo.jsx @@ -98,6 +98,7 @@ const StockLocationInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -106,7 +107,7 @@ const StockLocationInfo = () => { { indicator={} > - + @@ -349,10 +350,10 @@ const StockLocationInfo = () => { diff --git a/src/components/Dashboard/Inventory/StockTransfers/StockTransferInfo.jsx b/src/components/Dashboard/Inventory/StockTransfers/StockTransferInfo.jsx index ee334b89..25e136b2 100644 --- a/src/components/Dashboard/Inventory/StockTransfers/StockTransferInfo.jsx +++ b/src/components/Dashboard/Inventory/StockTransfers/StockTransferInfo.jsx @@ -8,7 +8,10 @@ import InfoCollapse from '../../common/InfoCollapse.jsx' import ObjectInfo from '../../common/ObjectInfo.jsx' import ObjectProperty from '../../common/ObjectProperty.jsx' import ViewButton from '../../common/ViewButton.jsx' -import { getModelProperty, getModelByName } from '../../../../database/ObjectModels.js' +import { + getModelProperty, + getModelByName +} from '../../../../database/ObjectModels.js' import InfoCircleIcon from '../../../Icons/InfoCircleIcon.jsx' import NoteIcon from '../../../Icons/NoteIcon.jsx' import AuditLogIcon from '../../../Icons/AuditLogIcon.jsx' @@ -89,7 +92,7 @@ const StockTransferInfo = () => { finishEdit: () => { objectFormRef?.current.handleUpdate() return true - }, + } } return ( @@ -98,6 +101,7 @@ const StockTransferInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -263,7 +267,7 @@ const StockTransferInfo = () => { indicator={} > - + @@ -281,10 +285,10 @@ const StockTransferInfo = () => { diff --git a/src/components/Dashboard/Management/AppPasswords/AppPasswordInfo.jsx b/src/components/Dashboard/Management/AppPasswords/AppPasswordInfo.jsx index 0e49cca0..1f298ee9 100644 --- a/src/components/Dashboard/Management/AppPasswords/AppPasswordInfo.jsx +++ b/src/components/Dashboard/Management/AppPasswords/AppPasswordInfo.jsx @@ -87,7 +87,7 @@ const AppPasswordInfo = () => { @@ -196,10 +196,8 @@ const AppPasswordInfo = () => { diff --git a/src/components/Dashboard/Management/CourierServices/CourierServiceInfo.jsx b/src/components/Dashboard/Management/CourierServices/CourierServiceInfo.jsx index d005cc43..b434d61f 100644 --- a/src/components/Dashboard/Management/CourierServices/CourierServiceInfo.jsx +++ b/src/components/Dashboard/Management/CourierServices/CourierServiceInfo.jsx @@ -25,7 +25,10 @@ import ObjectTable from '../../common/ObjectTable.jsx' import InfoCollapsePlaceholder from '../../common/InfoCollapsePlaceholder.jsx' import InfoActionButtons from '../../common/InfoActionButtons.jsx' import UserNotifierToggle from '../../common/UserNotifierToggle.jsx' -import { getModelProperty, getModelByName } from '../../../../database/ObjectModels.js' +import { + getModelProperty, + getModelByName +} from '../../../../database/ObjectModels.js' import ScrollBox from '../../common/ScrollBox.jsx' const log = loglevel.getLogger('CourierServiceInfo') @@ -82,7 +85,7 @@ const CourierServiceInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -90,14 +93,14 @@ const CourierServiceInfo = () => { { indicator={} > - + @@ -241,10 +244,10 @@ const CourierServiceInfo = () => { diff --git a/src/components/Dashboard/Management/Couriers/CourierInfo.jsx b/src/components/Dashboard/Management/Couriers/CourierInfo.jsx index 3c352f5b..e0c60148 100644 --- a/src/components/Dashboard/Management/Couriers/CourierInfo.jsx +++ b/src/components/Dashboard/Management/Couriers/CourierInfo.jsx @@ -75,7 +75,7 @@ const CourierInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -83,14 +83,14 @@ const CourierInfo = () => { { ) : ( { indicator={} > - + @@ -231,10 +233,7 @@ const CourierInfo = () => { diff --git a/src/components/Dashboard/Management/DocumentJobs/DocumentJobInfo.jsx b/src/components/Dashboard/Management/DocumentJobs/DocumentJobInfo.jsx index c866e7e6..6bac2f4c 100644 --- a/src/components/Dashboard/Management/DocumentJobs/DocumentJobInfo.jsx +++ b/src/components/Dashboard/Management/DocumentJobs/DocumentJobInfo.jsx @@ -87,14 +87,14 @@ const DocumentJobInfo = () => { { indicator={} > - + @@ -215,10 +215,8 @@ const DocumentJobInfo = () => { diff --git a/src/components/Dashboard/Management/DocumentPrinters/DocumentPrinterInfo.jsx b/src/components/Dashboard/Management/DocumentPrinters/DocumentPrinterInfo.jsx index 0c47aaa9..a19336a5 100644 --- a/src/components/Dashboard/Management/DocumentPrinters/DocumentPrinterInfo.jsx +++ b/src/components/Dashboard/Management/DocumentPrinters/DocumentPrinterInfo.jsx @@ -91,6 +91,7 @@ const DocumentPrinterInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > diff --git a/src/components/Dashboard/Management/DocumentSizes/DocumentSizeInfo.jsx b/src/components/Dashboard/Management/DocumentSizes/DocumentSizeInfo.jsx index 1b47fd56..76e3dbee 100644 --- a/src/components/Dashboard/Management/DocumentSizes/DocumentSizeInfo.jsx +++ b/src/components/Dashboard/Management/DocumentSizes/DocumentSizeInfo.jsx @@ -87,14 +87,14 @@ const DocumentSizeInfo = () => { { indicator={} > - + @@ -216,10 +216,10 @@ const DocumentSizeInfo = () => { diff --git a/src/components/Dashboard/Management/DocumentTemplates/DocumentTemplateInfo.jsx b/src/components/Dashboard/Management/DocumentTemplates/DocumentTemplateInfo.jsx index c9e2298e..af5c44de 100644 --- a/src/components/Dashboard/Management/DocumentTemplates/DocumentTemplateInfo.jsx +++ b/src/components/Dashboard/Management/DocumentTemplates/DocumentTemplateInfo.jsx @@ -97,6 +97,7 @@ const DocumentTemplateInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > diff --git a/src/components/Dashboard/Management/EmailAccounts/EmailAccountInfo.jsx b/src/components/Dashboard/Management/EmailAccounts/EmailAccountInfo.jsx index f885c91f..c64c5b98 100644 --- a/src/components/Dashboard/Management/EmailAccounts/EmailAccountInfo.jsx +++ b/src/components/Dashboard/Management/EmailAccounts/EmailAccountInfo.jsx @@ -88,7 +88,7 @@ const EmailAccountInfo = () => { diff --git a/src/components/Dashboard/Management/EmailMessages/EmailMessageInfo.jsx b/src/components/Dashboard/Management/EmailMessages/EmailMessageInfo.jsx index b092217b..c3ccf33f 100644 --- a/src/components/Dashboard/Management/EmailMessages/EmailMessageInfo.jsx +++ b/src/components/Dashboard/Management/EmailMessages/EmailMessageInfo.jsx @@ -23,7 +23,10 @@ import ObjectTable from '../../common/ObjectTable.jsx' import InfoCollapsePlaceholder from '../../common/InfoCollapsePlaceholder.jsx' import InfoActionButtons from '../../common/InfoActionButtons.jsx' import UserNotifierToggle from '../../common/UserNotifierToggle.jsx' -import { getModelByName, getModelProperty } from '../../../../database/ObjectModels.js' +import { + getModelByName, + getModelProperty +} from '../../../../database/ObjectModels.js' import ScrollBox from '../../common/ScrollBox.jsx' import TemplatePreview from '../../common/TemplatePreview.jsx' @@ -74,7 +77,7 @@ const EmailMessageInfo = () => { diff --git a/src/components/Dashboard/Management/EmailTemplates/EmailTemplateInfo.jsx b/src/components/Dashboard/Management/EmailTemplates/EmailTemplateInfo.jsx index eed3c9e1..92cf24e8 100644 --- a/src/components/Dashboard/Management/EmailTemplates/EmailTemplateInfo.jsx +++ b/src/components/Dashboard/Management/EmailTemplates/EmailTemplateInfo.jsx @@ -25,7 +25,10 @@ import ObjectTable from '../../common/ObjectTable.jsx' import InfoCollapsePlaceholder from '../../common/InfoCollapsePlaceholder.jsx' import InfoActionButtons from '../../common/InfoActionButtons.jsx' import UserNotifierToggle from '../../common/UserNotifierToggle.jsx' -import { getModelByName, getModelProperty } from '../../../../database/ObjectModels.js' +import { + getModelByName, + getModelProperty +} from '../../../../database/ObjectModels.js' import ScrollBox from '../../common/ScrollBox.jsx' const log = loglevel.getLogger('EmailTemplateInfo') @@ -92,7 +95,7 @@ const EmailTemplateInfo = () => { diff --git a/src/components/Dashboard/Management/FilamentSkus/FilamentSkuInfo.jsx b/src/components/Dashboard/Management/FilamentSkus/FilamentSkuInfo.jsx index f0eaee4d..967c19e9 100644 --- a/src/components/Dashboard/Management/FilamentSkus/FilamentSkuInfo.jsx +++ b/src/components/Dashboard/Management/FilamentSkus/FilamentSkuInfo.jsx @@ -74,7 +74,7 @@ const FilamentSkuInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -82,14 +82,14 @@ const FilamentSkuInfo = () => { { indicator={} > - + @@ -209,10 +209,8 @@ const FilamentSkuInfo = () => { diff --git a/src/components/Dashboard/Management/Filaments/FilamentInfo.jsx b/src/components/Dashboard/Management/Filaments/FilamentInfo.jsx index e24660a4..f0d262ee 100644 --- a/src/components/Dashboard/Management/Filaments/FilamentInfo.jsx +++ b/src/components/Dashboard/Management/Filaments/FilamentInfo.jsx @@ -92,7 +92,7 @@ const FilamentInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -101,6 +101,7 @@ const FilamentInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -220,7 +221,9 @@ const FilamentInfo = () => { )} @@ -238,7 +241,9 @@ const FilamentInfo = () => { ) : ( { indicator={} > - + @@ -277,10 +282,7 @@ const FilamentInfo = () => { diff --git a/src/components/Dashboard/Management/Files/FileInfo.jsx b/src/components/Dashboard/Management/Files/FileInfo.jsx index e6f3c0be..a7ac97c2 100644 --- a/src/components/Dashboard/Management/Files/FileInfo.jsx +++ b/src/components/Dashboard/Management/Files/FileInfo.jsx @@ -98,7 +98,7 @@ const FileInfo = () => { diff --git a/src/components/Dashboard/Management/Hosts/HostInfo.jsx b/src/components/Dashboard/Management/Hosts/HostInfo.jsx index 6fd010b7..6e4ce060 100644 --- a/src/components/Dashboard/Management/Hosts/HostInfo.jsx +++ b/src/components/Dashboard/Management/Hosts/HostInfo.jsx @@ -87,7 +87,7 @@ const HostInfo = () => { finishEdit: () => { objectFormRef?.current.handleUpdate() return true - }, + } } return ( @@ -96,6 +96,7 @@ const HostInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -213,7 +214,9 @@ const HostInfo = () => { ) : ( { ) : ( { indicator={} > - + @@ -272,10 +277,7 @@ const HostInfo = () => { diff --git a/src/components/Dashboard/Management/Materials/MaterialInfo.jsx b/src/components/Dashboard/Management/Materials/MaterialInfo.jsx index 9c3a8a9c..79ec5129 100644 --- a/src/components/Dashboard/Management/Materials/MaterialInfo.jsx +++ b/src/components/Dashboard/Management/Materials/MaterialInfo.jsx @@ -77,7 +77,7 @@ const MaterialInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -85,14 +85,14 @@ const MaterialInfo = () => { { indicator={} > - + @@ -212,10 +212,7 @@ const MaterialInfo = () => { diff --git a/src/components/Dashboard/Management/NoteTypes/NoteTypeInfo.jsx b/src/components/Dashboard/Management/NoteTypes/NoteTypeInfo.jsx index c8207c2e..96c111da 100644 --- a/src/components/Dashboard/Management/NoteTypes/NoteTypeInfo.jsx +++ b/src/components/Dashboard/Management/NoteTypes/NoteTypeInfo.jsx @@ -77,14 +77,14 @@ const NoteTypeInfo = () => { { diff --git a/src/components/Dashboard/Management/Notes/NoteInfo.jsx b/src/components/Dashboard/Management/Notes/NoteInfo.jsx index 02be9c10..49528aeb 100644 --- a/src/components/Dashboard/Management/Notes/NoteInfo.jsx +++ b/src/components/Dashboard/Management/Notes/NoteInfo.jsx @@ -27,7 +27,10 @@ import InfoCollapsePlaceholder from '../../common/InfoCollapsePlaceholder.jsx' import InfoActionButtons from '../../common/InfoActionButtons.jsx' import UserNotifierToggle from '../../common/UserNotifierToggle.jsx' import ScrollBox from '../../common/ScrollBox.jsx' -import { getModelProperty, getModelByName } from '../../../../database/ObjectModels.js' +import { + getModelProperty, + getModelByName +} from '../../../../database/ObjectModels.js' const log = loglevel.getLogger('NoteInfo') log.setLevel(config.logLevel) @@ -83,7 +86,7 @@ const NoteInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -91,14 +94,14 @@ const NoteInfo = () => { { indicator={} > - + @@ -245,10 +248,7 @@ const NoteInfo = () => { diff --git a/src/components/Dashboard/Management/PartSkus/PartSkuInfo.jsx b/src/components/Dashboard/Management/PartSkus/PartSkuInfo.jsx index 5314e385..b68d3157 100644 --- a/src/components/Dashboard/Management/PartSkus/PartSkuInfo.jsx +++ b/src/components/Dashboard/Management/PartSkus/PartSkuInfo.jsx @@ -69,7 +69,7 @@ const PartSkuInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -77,14 +77,14 @@ const PartSkuInfo = () => { { indicator={} > - + @@ -204,10 +204,7 @@ const PartSkuInfo = () => { diff --git a/src/components/Dashboard/Management/Parts/PartInfo.jsx b/src/components/Dashboard/Management/Parts/PartInfo.jsx index e6622a7f..f217950d 100644 --- a/src/components/Dashboard/Management/Parts/PartInfo.jsx +++ b/src/components/Dashboard/Management/Parts/PartInfo.jsx @@ -88,7 +88,7 @@ const PartInfo = () => { @@ -197,7 +197,9 @@ const PartInfo = () => { )} @@ -215,7 +217,7 @@ const PartInfo = () => { indicator={} > - + @@ -232,10 +234,7 @@ const PartInfo = () => { diff --git a/src/components/Dashboard/Management/PermissionSettings/PermissionSettingInfo.jsx b/src/components/Dashboard/Management/PermissionSettings/PermissionSettingInfo.jsx index fac61bf8..a12d8b12 100644 --- a/src/components/Dashboard/Management/PermissionSettings/PermissionSettingInfo.jsx +++ b/src/components/Dashboard/Management/PermissionSettings/PermissionSettingInfo.jsx @@ -80,7 +80,7 @@ const PermissionSettingInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -88,14 +88,14 @@ const PermissionSettingInfo = () => { { indicator={} > - + diff --git a/src/components/Dashboard/Management/ProductCategories/ProductCategoryInfo.jsx b/src/components/Dashboard/Management/ProductCategories/ProductCategoryInfo.jsx index 6361c5c1..e75ba701 100644 --- a/src/components/Dashboard/Management/ProductCategories/ProductCategoryInfo.jsx +++ b/src/components/Dashboard/Management/ProductCategories/ProductCategoryInfo.jsx @@ -23,7 +23,10 @@ import ObjectTable from '../../common/ObjectTable.jsx' import InfoCollapsePlaceholder from '../../common/InfoCollapsePlaceholder.jsx' import InfoActionButtons from '../../common/InfoActionButtons.jsx' import UserNotifierToggle from '../../common/UserNotifierToggle.jsx' -import { getModelProperty, getModelByName } from '../../../../database/ObjectModels.js' +import { + getModelProperty, + getModelByName +} from '../../../../database/ObjectModels.js' import ScrollBox from '../../common/ScrollBox.jsx' const ProductCategoryInfo = () => { @@ -77,7 +80,7 @@ const ProductCategoryInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -85,14 +88,14 @@ const ProductCategoryInfo = () => { { indicator={} > - + @@ -236,10 +239,10 @@ const ProductCategoryInfo = () => { diff --git a/src/components/Dashboard/Management/ProductSkus/ProductSkuInfo.jsx b/src/components/Dashboard/Management/ProductSkus/ProductSkuInfo.jsx index 72bc80bb..23421363 100644 --- a/src/components/Dashboard/Management/ProductSkus/ProductSkuInfo.jsx +++ b/src/components/Dashboard/Management/ProductSkus/ProductSkuInfo.jsx @@ -23,7 +23,10 @@ import InfoActionButtons from '../../common/InfoActionButtons.jsx' import UserNotifierToggle from '../../common/UserNotifierToggle.jsx' import ScrollBox from '../../common/ScrollBox.jsx' import ObjectProperty from '../../common/ObjectProperty.jsx' -import { getModelProperty, getModelByName } from '../../../../database/ObjectModels.js' +import { + getModelProperty, + getModelByName +} from '../../../../database/ObjectModels.js' import PartIcon from '../../../Icons/PartIcon.jsx' const ProductSkuInfo = () => { @@ -75,7 +78,7 @@ const ProductSkuInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -83,14 +86,14 @@ const ProductSkuInfo = () => { { indicator={} > - + @@ -236,10 +239,8 @@ const ProductSkuInfo = () => { diff --git a/src/components/Dashboard/Management/Products/ProductInfo.jsx b/src/components/Dashboard/Management/Products/ProductInfo.jsx index 1bc31fdc..f05f6670 100644 --- a/src/components/Dashboard/Management/Products/ProductInfo.jsx +++ b/src/components/Dashboard/Management/Products/ProductInfo.jsx @@ -88,7 +88,7 @@ const ProductInfo = () => { @@ -200,7 +200,10 @@ const ProductInfo = () => { )} @@ -222,7 +225,7 @@ const ProductInfo = () => { indicator={} > - + @@ -239,10 +242,7 @@ const ProductInfo = () => { diff --git a/src/components/Dashboard/Management/StockAuditLevels/StockAuditLevelInfo.jsx b/src/components/Dashboard/Management/StockAuditLevels/StockAuditLevelInfo.jsx index 8738b7c1..26258eae 100644 --- a/src/components/Dashboard/Management/StockAuditLevels/StockAuditLevelInfo.jsx +++ b/src/components/Dashboard/Management/StockAuditLevels/StockAuditLevelInfo.jsx @@ -22,7 +22,10 @@ import ObjectTable from '../../common/ObjectTable.jsx' import InfoCollapsePlaceholder from '../../common/InfoCollapsePlaceholder.jsx' import InfoActionButtons from '../../common/InfoActionButtons.jsx' import UserNotifierToggle from '../../common/UserNotifierToggle.jsx' -import { getModelProperty, getModelByName } from '../../../../database/ObjectModels.js' +import { + getModelProperty, + getModelByName +} from '../../../../database/ObjectModels.js' import ScrollBox from '../../common/ScrollBox.jsx' const StockAuditLevelInfo = () => { @@ -82,7 +85,7 @@ const StockAuditLevelInfo = () => { @@ -232,9 +235,7 @@ const StockAuditLevelInfo = () => { title='Audit Logs' icon={} active={collapseState.auditLogs} - onToggle={(expanded) => - updateCollapseState('auditLogs', expanded) - } + onToggle={(expanded) => updateCollapseState('auditLogs', expanded)} collapseKey='auditLogs' > {objectFormState.loading ? ( diff --git a/src/components/Dashboard/Management/TaxRates/TaxRateInfo.jsx b/src/components/Dashboard/Management/TaxRates/TaxRateInfo.jsx index 28722e52..bcfaf7f8 100644 --- a/src/components/Dashboard/Management/TaxRates/TaxRateInfo.jsx +++ b/src/components/Dashboard/Management/TaxRates/TaxRateInfo.jsx @@ -25,7 +25,10 @@ import ObjectTable from '../../common/ObjectTable.jsx' import InfoCollapsePlaceholder from '../../common/InfoCollapsePlaceholder.jsx' import InfoActionButtons from '../../common/InfoActionButtons.jsx' import UserNotifierToggle from '../../common/UserNotifierToggle.jsx' -import { getModelProperty, getModelByName } from '../../../../database/ObjectModels.js' +import { + getModelProperty, + getModelByName +} from '../../../../database/ObjectModels.js' import ScrollBox from '../../common/ScrollBox.jsx' const log = loglevel.getLogger('TaxRateInfo') @@ -77,7 +80,7 @@ const TaxRateInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -85,14 +88,14 @@ const TaxRateInfo = () => { { indicator={} > - + @@ -236,10 +239,7 @@ const TaxRateInfo = () => { diff --git a/src/components/Dashboard/Management/UserGroups/UserGroupInfo.jsx b/src/components/Dashboard/Management/UserGroups/UserGroupInfo.jsx index 20832c25..dc7f9d83 100644 --- a/src/components/Dashboard/Management/UserGroups/UserGroupInfo.jsx +++ b/src/components/Dashboard/Management/UserGroups/UserGroupInfo.jsx @@ -80,14 +80,14 @@ const UserGroupInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -243,7 +243,7 @@ const UserGroupInfo = () => { indicator={} > - + diff --git a/src/components/Dashboard/Management/Users/UserInfo.jsx b/src/components/Dashboard/Management/Users/UserInfo.jsx index 1fa21082..7bfe9980 100644 --- a/src/components/Dashboard/Management/Users/UserInfo.jsx +++ b/src/components/Dashboard/Management/Users/UserInfo.jsx @@ -86,7 +86,7 @@ const UserInfo = () => { @@ -264,7 +264,7 @@ const UserInfo = () => { indicator={} > - + diff --git a/src/components/Dashboard/Management/Vendors/VendorInfo.jsx b/src/components/Dashboard/Management/Vendors/VendorInfo.jsx index 68ba4649..405d1871 100644 --- a/src/components/Dashboard/Management/Vendors/VendorInfo.jsx +++ b/src/components/Dashboard/Management/Vendors/VendorInfo.jsx @@ -74,7 +74,7 @@ const VendorInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -82,14 +82,14 @@ const VendorInfo = () => { { indicator={} > - + @@ -209,10 +209,7 @@ const VendorInfo = () => { diff --git a/src/components/Dashboard/Production/FilamentProfiles/FilamentProfileInfo.jsx b/src/components/Dashboard/Production/FilamentProfiles/FilamentProfileInfo.jsx index fb85b995..2a953886 100644 --- a/src/components/Dashboard/Production/FilamentProfiles/FilamentProfileInfo.jsx +++ b/src/components/Dashboard/Production/FilamentProfiles/FilamentProfileInfo.jsx @@ -111,14 +111,14 @@ const FilamentProfileInfo = () => { finishEdit: () => { objectFormRef.current?.handleUpdate?.() return true - }, + } } return ( @@ -529,7 +529,7 @@ const FilamentProfileInfo = () => { indicator={} > - + @@ -547,10 +547,10 @@ const FilamentProfileInfo = () => { diff --git a/src/components/Dashboard/Production/GCodeFiles/GCodeFileInfo.jsx b/src/components/Dashboard/Production/GCodeFiles/GCodeFileInfo.jsx index 69b53563..5c8f32d0 100644 --- a/src/components/Dashboard/Production/GCodeFiles/GCodeFileInfo.jsx +++ b/src/components/Dashboard/Production/GCodeFiles/GCodeFileInfo.jsx @@ -25,7 +25,10 @@ import InfoCollapsePlaceholder from '../../common/InfoCollapsePlaceholder.jsx' import InfoActionButtons from '../../common/InfoActionButtons.jsx' import UserNotifierToggle from '../../common/UserNotifierToggle.jsx' import ScrollBox from '../../common/ScrollBox.jsx' -import { getModelProperty, getModelByName } from '../../../../database/ObjectModels.js' +import { + getModelProperty, + getModelByName +} from '../../../../database/ObjectModels.js' import PartIcon from '../../../Icons/PartIcon.jsx' const log = loglevel.getLogger('GCodeFileInfo') @@ -91,6 +94,7 @@ const GCodeFileInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -99,7 +103,7 @@ const GCodeFileInfo = () => { { indicator={} > - + @@ -250,10 +254,8 @@ const GCodeFileInfo = () => { diff --git a/src/components/Dashboard/Production/Jobs/JobInfo.jsx b/src/components/Dashboard/Production/Jobs/JobInfo.jsx index f704f855..feb85087 100644 --- a/src/components/Dashboard/Production/Jobs/JobInfo.jsx +++ b/src/components/Dashboard/Production/Jobs/JobInfo.jsx @@ -97,6 +97,7 @@ const JobInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -224,7 +225,7 @@ const JobInfo = () => { indicator={} > - + @@ -242,10 +243,7 @@ const JobInfo = () => { diff --git a/src/components/Dashboard/Production/PrinterProfiles/PrinterProfileInfo.jsx b/src/components/Dashboard/Production/PrinterProfiles/PrinterProfileInfo.jsx index 6c5aedf2..e88b6289 100644 --- a/src/components/Dashboard/Production/PrinterProfiles/PrinterProfileInfo.jsx +++ b/src/components/Dashboard/Production/PrinterProfiles/PrinterProfileInfo.jsx @@ -27,7 +27,10 @@ import UserNotifierToggle from '../../common/UserNotifierToggle' import ViewButton from '../../common/ViewButton' import useCollapseState from '../../hooks/useCollapseState' import ObjectProperty from '../../common/ObjectProperty' -import { getModelProperty, getModelByName } from '../../../../database/ObjectModels' +import { + getModelProperty, + getModelByName +} from '../../../../database/ObjectModels' import GCodeFileIcon from '../../../Icons/GCodeFileIcon' import SettingsIcon from '../../../Icons/SettingsIcon' import ExclamationOctagonIcon from '../../../Icons/ExclamationOctagonIcon' @@ -89,14 +92,14 @@ const PrinterProfileInfo = () => { finishEdit: () => { objectFormRef.current?.handleUpdate?.() return true - }, + } } return ( @@ -380,7 +383,7 @@ const PrinterProfileInfo = () => { indicator={} > - + @@ -398,10 +401,10 @@ const PrinterProfileInfo = () => { diff --git a/src/components/Dashboard/Production/Printers/PrinterInfo.jsx b/src/components/Dashboard/Production/Printers/PrinterInfo.jsx index e0f7b55c..06e881cc 100644 --- a/src/components/Dashboard/Production/Printers/PrinterInfo.jsx +++ b/src/components/Dashboard/Production/Printers/PrinterInfo.jsx @@ -98,6 +98,7 @@ const PrinterInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -223,7 +224,9 @@ const PrinterInfo = () => { { indicator={} > - + @@ -262,10 +265,7 @@ const PrinterInfo = () => { diff --git a/src/components/Dashboard/Production/SubJobs/SubJobInfo.jsx b/src/components/Dashboard/Production/SubJobs/SubJobInfo.jsx index 0da7b0f0..97686f6d 100644 --- a/src/components/Dashboard/Production/SubJobs/SubJobInfo.jsx +++ b/src/components/Dashboard/Production/SubJobs/SubJobInfo.jsx @@ -77,14 +77,14 @@ const SubJobInfo = () => { { ) : ( { indicator={} > - + @@ -222,10 +224,7 @@ const SubJobInfo = () => { diff --git a/src/components/Dashboard/Sales/Clients/ClientInfo.jsx b/src/components/Dashboard/Sales/Clients/ClientInfo.jsx index 70e50d35..11e19eba 100644 --- a/src/components/Dashboard/Sales/Clients/ClientInfo.jsx +++ b/src/components/Dashboard/Sales/Clients/ClientInfo.jsx @@ -74,7 +74,7 @@ const ClientInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -82,14 +82,14 @@ const ClientInfo = () => { { indicator={} > - + @@ -209,10 +209,7 @@ const ClientInfo = () => { diff --git a/src/components/Dashboard/Sales/FulfillmentPolicies/FulfillmentPolicyInfo.jsx b/src/components/Dashboard/Sales/FulfillmentPolicies/FulfillmentPolicyInfo.jsx index 9b937282..3cdeaad2 100644 --- a/src/components/Dashboard/Sales/FulfillmentPolicies/FulfillmentPolicyInfo.jsx +++ b/src/components/Dashboard/Sales/FulfillmentPolicies/FulfillmentPolicyInfo.jsx @@ -93,7 +93,7 @@ const FulfillmentPolicyInfo = () => { diff --git a/src/components/Dashboard/Sales/ListingVarients/ListingVarientInfo.jsx b/src/components/Dashboard/Sales/ListingVarients/ListingVarientInfo.jsx index 07409328..d3a8438a 100644 --- a/src/components/Dashboard/Sales/ListingVarients/ListingVarientInfo.jsx +++ b/src/components/Dashboard/Sales/ListingVarients/ListingVarientInfo.jsx @@ -96,14 +96,14 @@ const ListingVarientInfo = () => { finishEdit: () => { objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -256,7 +256,7 @@ const ListingVarientInfo = () => { indicator={} > - + diff --git a/src/components/Dashboard/Sales/Listings/ListingInfo.jsx b/src/components/Dashboard/Sales/Listings/ListingInfo.jsx index 0db07718..72b061dc 100644 --- a/src/components/Dashboard/Sales/Listings/ListingInfo.jsx +++ b/src/components/Dashboard/Sales/Listings/ListingInfo.jsx @@ -101,7 +101,7 @@ const ListingInfo = () => { diff --git a/src/components/Dashboard/Sales/Marketplaces/MarketplaceInfo.jsx b/src/components/Dashboard/Sales/Marketplaces/MarketplaceInfo.jsx index 8f938564..5836f419 100644 --- a/src/components/Dashboard/Sales/Marketplaces/MarketplaceInfo.jsx +++ b/src/components/Dashboard/Sales/Marketplaces/MarketplaceInfo.jsx @@ -162,7 +162,7 @@ const MarketplaceInfo = () => { diff --git a/src/components/Dashboard/Sales/ReturnPolicies/ReturnPolicyInfo.jsx b/src/components/Dashboard/Sales/ReturnPolicies/ReturnPolicyInfo.jsx index e400b23c..35c80e90 100644 --- a/src/components/Dashboard/Sales/ReturnPolicies/ReturnPolicyInfo.jsx +++ b/src/components/Dashboard/Sales/ReturnPolicies/ReturnPolicyInfo.jsx @@ -93,7 +93,7 @@ const ReturnPolicyInfo = () => { diff --git a/src/components/Dashboard/Sales/SalesOrders/SalesOrderInfo.jsx b/src/components/Dashboard/Sales/SalesOrders/SalesOrderInfo.jsx index c15313c5..ec3e418f 100644 --- a/src/components/Dashboard/Sales/SalesOrders/SalesOrderInfo.jsx +++ b/src/components/Dashboard/Sales/SalesOrders/SalesOrderInfo.jsx @@ -100,7 +100,7 @@ const SalesOrderInfo = () => { orderItemsTableRef?.current?.handleUpdate?.() objectFormRef?.current?.handleUpdate?.() return true - }, + } } return ( @@ -109,6 +109,7 @@ const SalesOrderInfo = () => { vertical='true' style={{ maxHeight: '100%', + height: '100%', minHeight: 0 }} > @@ -228,7 +229,10 @@ const SalesOrderInfo = () => { { { { )} @@ -312,7 +325,7 @@ const SalesOrderInfo = () => { indicator={} > - + @@ -329,10 +342,8 @@ const SalesOrderInfo = () => {