mirror of
https://github.com/inventree/InvenTree.git
synced 2025-09-19 09:01:31 +00:00
@@ -173,17 +173,12 @@ export default function StockDetail() {
|
|||||||
stockitem.status_custom_key == stockitem.status
|
stockitem.status_custom_key == stockitem.status
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'text',
|
type: 'link',
|
||||||
name: 'updated',
|
name: 'link',
|
||||||
icon: 'calendar',
|
label: t`Link`,
|
||||||
label: t`Last Updated`
|
external: true,
|
||||||
},
|
copy: true,
|
||||||
{
|
hidden: !stockitem.link
|
||||||
type: 'text',
|
|
||||||
name: 'stocktake',
|
|
||||||
icon: 'calendar',
|
|
||||||
label: t`Last Stocktake`,
|
|
||||||
hidden: !stockitem.stocktake
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -415,6 +410,19 @@ export default function StockDetail() {
|
|||||||
icon: 'part',
|
icon: 'part',
|
||||||
label: t`Packaging`,
|
label: t`Packaging`,
|
||||||
hidden: !stockitem.packaging
|
hidden: !stockitem.packaging
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'text',
|
||||||
|
name: 'updated',
|
||||||
|
icon: 'calendar',
|
||||||
|
label: t`Last Updated`
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'text',
|
||||||
|
name: 'stocktake',
|
||||||
|
icon: 'calendar',
|
||||||
|
label: t`Last Stocktake`,
|
||||||
|
hidden: !stockitem.stocktake
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user