refator menu
This commit is contained in:
parent
66589abdd4
commit
2c754d96fd
@ -113,12 +113,17 @@ const VerticalMenu = ({ dictionary, scrollMenu }: Props) => {
|
|||||||
{dictionary['navigation'].purchase_quotes}
|
{dictionary['navigation'].purchase_quotes}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
</SubMenu>
|
</SubMenu>
|
||||||
<SubMenu label={dictionary['navigation'].expenses} icon={<i className='tabler-cash' />}>
|
<MenuItem
|
||||||
<MenuItem href={`/${locale}/apps/expense`}>{dictionary['navigation'].list}</MenuItem>
|
href={`/${locale}/apps/expense`}
|
||||||
</SubMenu>
|
icon={<i className='tabler-cash' />}
|
||||||
|
exactMatch={false}
|
||||||
|
activeUrl='/apps/expense'
|
||||||
|
>
|
||||||
|
{dictionary['navigation'].expenses}
|
||||||
|
</MenuItem>
|
||||||
<MenuItem
|
<MenuItem
|
||||||
href={`/${locale}/apps/cash-bank`}
|
href={`/${locale}/apps/cash-bank`}
|
||||||
icon={<i className='tabler-mail' />}
|
icon={<i className='tabler-building-bank' />}
|
||||||
exactMatch={false}
|
exactMatch={false}
|
||||||
activeUrl='/apps/cash-bank'
|
activeUrl='/apps/cash-bank'
|
||||||
>
|
>
|
||||||
@ -167,14 +172,22 @@ const VerticalMenu = ({ dictionary, scrollMenu }: Props) => {
|
|||||||
<MenuItem href={`/${locale}/apps/finance/payment-methods/list`}>{dictionary['navigation'].list}</MenuItem>
|
<MenuItem href={`/${locale}/apps/finance/payment-methods/list`}>{dictionary['navigation'].list}</MenuItem>
|
||||||
</SubMenu>
|
</SubMenu>
|
||||||
</SubMenu>
|
</SubMenu>
|
||||||
<SubMenu label={dictionary['navigation'].user} icon={<i className='tabler-user' />}>
|
<MenuItem
|
||||||
<MenuItem href={`/${locale}/apps/user/list`}>{dictionary['navigation'].list}</MenuItem>
|
href={`/${locale}/apps/user/list`}
|
||||||
{/* <MenuItem href={`/${locale}/apps/user/view`}>{dictionary['navigation'].view}</MenuItem> */}
|
icon={<i className='tabler-user' />}
|
||||||
</SubMenu>
|
exactMatch={false}
|
||||||
<SubMenu label={dictionary['navigation'].vendor} icon={<i className='tabler-building' />}>
|
activeUrl='/apps/user/list'
|
||||||
<MenuItem href={`/${locale}/apps/vendor/list`}>{dictionary['navigation'].list}</MenuItem>
|
>
|
||||||
{/* <MenuItem href={`/${locale}/apps/user/view`}>{dictionary['navigation'].view}</MenuItem> */}
|
{dictionary['navigation'].user}
|
||||||
</SubMenu>
|
</MenuItem>
|
||||||
|
<MenuItem
|
||||||
|
href={`/${locale}/apps/vendor/list`}
|
||||||
|
icon={<i className='tabler-building' />}
|
||||||
|
exactMatch={false}
|
||||||
|
activeUrl='/apps/vendor/list'
|
||||||
|
>
|
||||||
|
{dictionary['navigation'].vendor}
|
||||||
|
</MenuItem>
|
||||||
</MenuSection>
|
</MenuSection>
|
||||||
</Menu>
|
</Menu>
|
||||||
</ScrollWrapper>
|
</ScrollWrapper>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user