Change panel position
This commit is contained in:
parent
d0c2ecb3ed
commit
6369cc89cb
|
|
@ -160,10 +160,6 @@ export default function ManufacturerPartDetail() {
|
|||
icon: <IconInfoCircle />,
|
||||
content: detailsPanel
|
||||
},
|
||||
ParametersPanel({
|
||||
model_type: ModelType.manufacturerpart,
|
||||
model_id: manufacturerPart?.pk
|
||||
}),
|
||||
{
|
||||
name: 'stock',
|
||||
label: t`Received Stock`,
|
||||
|
|
@ -192,6 +188,10 @@ export default function ManufacturerPartDetail() {
|
|||
<Skeleton />
|
||||
)
|
||||
},
|
||||
ParametersPanel({
|
||||
model_type: ModelType.manufacturerpart,
|
||||
model_id: manufacturerPart?.pk
|
||||
}),
|
||||
AttachmentPanel({
|
||||
model_type: ModelType.manufacturerpart,
|
||||
model_id: manufacturerPart?.pk
|
||||
|
|
|
|||
|
|
@ -248,10 +248,6 @@ export default function SupplierPartDetail() {
|
|||
icon: <IconInfoCircle />,
|
||||
content: detailsPanel
|
||||
},
|
||||
ParametersPanel({
|
||||
model_type: ModelType.supplierpart,
|
||||
model_id: supplierPart?.pk
|
||||
}),
|
||||
{
|
||||
name: 'stock',
|
||||
label: t`Received Stock`,
|
||||
|
|
@ -289,6 +285,10 @@ export default function SupplierPartDetail() {
|
|||
<Skeleton />
|
||||
)
|
||||
},
|
||||
ParametersPanel({
|
||||
model_type: ModelType.supplierpart,
|
||||
model_id: supplierPart?.pk
|
||||
}),
|
||||
AttachmentPanel({
|
||||
model_type: ModelType.supplierpart,
|
||||
model_id: supplierPart?.pk
|
||||
|
|
|
|||
|
|
@ -787,10 +787,6 @@ export default function PartDetail() {
|
|||
icon: <IconInfoCircle />,
|
||||
content: detailsPanel
|
||||
},
|
||||
ParametersPanel({
|
||||
model_type: ModelType.part,
|
||||
model_id: part?.pk
|
||||
}),
|
||||
{
|
||||
name: 'stock',
|
||||
label: t`Stock`,
|
||||
|
|
@ -941,6 +937,10 @@ export default function PartDetail() {
|
|||
icon: <IconLayersLinked />,
|
||||
content: <RelatedPartTable partId={part.pk} />
|
||||
},
|
||||
ParametersPanel({
|
||||
model_type: ModelType.part,
|
||||
model_id: part?.pk
|
||||
}),
|
||||
AttachmentPanel({
|
||||
model_type: ModelType.part,
|
||||
model_id: part?.pk
|
||||
|
|
|
|||
Loading…
Reference in New Issue