mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
feat: add item & inventory adjustment ability.
This commit is contained in:
@@ -9,7 +9,7 @@ import withAlertsActions from 'containers/Alert/withAlertActions';
|
||||
|
||||
import { Icon, FormattedMessage as T, Can } from 'components';
|
||||
import {
|
||||
InventoryAdjustment,
|
||||
Inventory_Adjustment_Abilities,
|
||||
AbilitySubject,
|
||||
} from '../../../common/abilityOption';
|
||||
|
||||
@@ -30,7 +30,10 @@ function InventoryAdjustmentDetailActionsBar({
|
||||
};
|
||||
|
||||
return (
|
||||
<Can I={InventoryAdjustment.Delete} a={AbilitySubject.InventoryAdjustment}>
|
||||
<Can
|
||||
I={Inventory_Adjustment_Abilities.Delete}
|
||||
a={AbilitySubject.Inventory_Adjustment}
|
||||
>
|
||||
<DashboardActionsBar>
|
||||
<NavbarGroup>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user