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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user