IO-1914 WIP Inventory.
This commit is contained in:
@@ -94,7 +94,11 @@ export function BilllineAddInventory({ bodyshop, billline, disabled, jobid }) {
|
||||
|
||||
return (
|
||||
<Tooltip title={t("inventory.actions.addtoinventory")}>
|
||||
<Button loading={loading} disabled={disabled} onClick={addToInventory}>
|
||||
<Button
|
||||
loading={loading}
|
||||
disabled={disabled || billline.inventories.length > 0}
|
||||
onClick={addToInventory}
|
||||
>
|
||||
<FileAddFilled />
|
||||
</Button>
|
||||
</Tooltip>
|
||||
|
||||
Reference in New Issue
Block a user