mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
feat(Sidebar): add the missing sidebar items.
This commit is contained in:
@@ -70,6 +70,11 @@ export const SidebarMenu = [
|
|||||||
ability: InventoryAdjustmentAction.View,
|
ability: InventoryAdjustmentAction.View,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: <T id={'sidebar_warehouse_transfer'} />,
|
||||||
|
href: '/warehouses-transfers',
|
||||||
|
type: ISidebarMenuItemType.Link,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: <T id={'category_list'} />,
|
text: <T id={'category_list'} />,
|
||||||
href: '/items/categories',
|
href: '/items/categories',
|
||||||
@@ -81,6 +86,47 @@ export const SidebarMenu = [
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: <T id={'New tasks'} />,
|
||||||
|
type: ISidebarMenuItemType.Group,
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
text: <T id={'New inventory item'} />,
|
||||||
|
href: '/items/new',
|
||||||
|
type: ISidebarMenuItemType.Link,
|
||||||
|
permission: {
|
||||||
|
subject: AbilitySubject.Item,
|
||||||
|
ability: ItemAction.Create,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: (
|
||||||
|
<T id={'warehouse_transfer.label.new_warehouse_transfer'} />
|
||||||
|
),
|
||||||
|
href: '/warehouses-transfers/new',
|
||||||
|
type: ISidebarMenuItemType.Link,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: <T id={'New service'} />,
|
||||||
|
href: '/items/new',
|
||||||
|
type: ISidebarMenuItemType.Link,
|
||||||
|
permission: {
|
||||||
|
subject: AbilitySubject.Item,
|
||||||
|
ability: ItemAction.Create,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: <T id={'New item category'} />,
|
||||||
|
href: '/items/categories/new',
|
||||||
|
type: ISidebarMenuItemType.Dialog,
|
||||||
|
dialogName: 'item-category-form',
|
||||||
|
permission: {
|
||||||
|
subject: AbilitySubject.Item,
|
||||||
|
ability: ItemAction.Create,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user