mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 19:15:41 +00:00
Small tweak to UI logic (#9734)
This commit is contained in:
@ -317,7 +317,7 @@ export function PurchaseOrderLineItemTable({
|
|||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
hidden: received || !orderOpen,
|
hidden: received || !orderPlaced,
|
||||||
title: t`Receive line item`,
|
title: t`Receive line item`,
|
||||||
icon: <IconSquareArrowRight />,
|
icon: <IconSquareArrowRight />,
|
||||||
color: 'green',
|
color: 'green',
|
||||||
@ -349,7 +349,7 @@ export function PurchaseOrderLineItemTable({
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
[orderId, user, orderOpen]
|
[orderId, user, orderOpen, orderPlaced]
|
||||||
);
|
);
|
||||||
|
|
||||||
// Custom table actions
|
// Custom table actions
|
||||||
|
Reference in New Issue
Block a user