2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-16 09:18:10 +00:00

Change panel position

This commit is contained in:
Oliver Walters
2025-11-25 01:23:47 +00:00
parent d0c2ecb3ed
commit 6369cc89cb
3 changed files with 12 additions and 12 deletions

View File

@@ -160,10 +160,6 @@ export default function ManufacturerPartDetail() {
icon: <IconInfoCircle />, icon: <IconInfoCircle />,
content: detailsPanel content: detailsPanel
}, },
ParametersPanel({
model_type: ModelType.manufacturerpart,
model_id: manufacturerPart?.pk
}),
{ {
name: 'stock', name: 'stock',
label: t`Received Stock`, label: t`Received Stock`,
@@ -192,6 +188,10 @@ export default function ManufacturerPartDetail() {
<Skeleton /> <Skeleton />
) )
}, },
ParametersPanel({
model_type: ModelType.manufacturerpart,
model_id: manufacturerPart?.pk
}),
AttachmentPanel({ AttachmentPanel({
model_type: ModelType.manufacturerpart, model_type: ModelType.manufacturerpart,
model_id: manufacturerPart?.pk model_id: manufacturerPart?.pk

View File

@@ -248,10 +248,6 @@ export default function SupplierPartDetail() {
icon: <IconInfoCircle />, icon: <IconInfoCircle />,
content: detailsPanel content: detailsPanel
}, },
ParametersPanel({
model_type: ModelType.supplierpart,
model_id: supplierPart?.pk
}),
{ {
name: 'stock', name: 'stock',
label: t`Received Stock`, label: t`Received Stock`,
@@ -289,6 +285,10 @@ export default function SupplierPartDetail() {
<Skeleton /> <Skeleton />
) )
}, },
ParametersPanel({
model_type: ModelType.supplierpart,
model_id: supplierPart?.pk
}),
AttachmentPanel({ AttachmentPanel({
model_type: ModelType.supplierpart, model_type: ModelType.supplierpart,
model_id: supplierPart?.pk model_id: supplierPart?.pk

View File

@@ -787,10 +787,6 @@ export default function PartDetail() {
icon: <IconInfoCircle />, icon: <IconInfoCircle />,
content: detailsPanel content: detailsPanel
}, },
ParametersPanel({
model_type: ModelType.part,
model_id: part?.pk
}),
{ {
name: 'stock', name: 'stock',
label: t`Stock`, label: t`Stock`,
@@ -941,6 +937,10 @@ export default function PartDetail() {
icon: <IconLayersLinked />, icon: <IconLayersLinked />,
content: <RelatedPartTable partId={part.pk} /> content: <RelatedPartTable partId={part.pk} />
}, },
ParametersPanel({
model_type: ModelType.part,
model_id: part?.pk
}),
AttachmentPanel({ AttachmentPanel({
model_type: ModelType.part, model_type: ModelType.part,
model_id: part?.pk model_id: part?.pk