WIP Read Only for Jobs BOD-409
This commit is contained in:
@@ -17,6 +17,7 @@ export function PartsOrderLineBackorderButton({
|
||||
partsOrderStatus,
|
||||
partsLineId,
|
||||
jobLineId,
|
||||
disabled,
|
||||
bodyshop,
|
||||
}) {
|
||||
const [visibility, setVisibility] = useState(false);
|
||||
@@ -84,7 +85,12 @@ export function PartsOrderLineBackorderButton({
|
||||
);
|
||||
|
||||
return (
|
||||
<Popover destroyTooltipOnHide content={popContent} visible={visibility}>
|
||||
<Popover
|
||||
destroyTooltipOnHide
|
||||
content={popContent}
|
||||
visible={visibility}
|
||||
disabled={disabled}
|
||||
>
|
||||
<Button loading={loading} onClick={handlePopover}>
|
||||
{isAlreadyBackordered
|
||||
? t("parts_orders.actions.receive")
|
||||
|
||||
Reference in New Issue
Block a user