You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.9 KiB
JavaScript

2 years ago
import {
HiChartPie,
HiUser,
HiUsers,
HiUserGroup,
2 years ago
HiViewList,
2 years ago
HiOutlineCash,
HiCode,
HiOutlineCog,
} from 'react-icons/hi'
2 years ago
export default [
{
name: 'Dashboard',
2 years ago
show: true,
icon: HiChartPie,
route: route('dashboard'),
active: 'dashboard',
permission: 'view-dashboard',
2 years ago
},
2 years ago
{
name: 'Transaksi Penjualan',
2 years ago
show: true,
2 years ago
icon: HiOutlineCash,
route: route('sale.index'),
active: 'sale.*',
permission: 'view-sale',
2 years ago
},
2 years ago
{
name: 'Kategori Produk',
2 years ago
show: true,
icon: HiViewList,
route: route('category.index'),
active: 'category.*',
permission: 'view-category',
2 years ago
},
2 years ago
{
name: 'Produk',
2 years ago
show: true,
icon: HiViewList,
route: route('product.index'),
active: 'product.*',
permission: 'view-product',
2 years ago
},
2 years ago
{
name: 'Pelangan',
2 years ago
show: true,
icon: HiViewList,
route: route('customer.index'),
active: 'customer.*',
permission: 'view-customer',
2 years ago
},
2 years ago
{
name: 'User',
2 years ago
show: true,
icon: HiUser,
items: [
{
name: 'Roles',
2 years ago
show: true,
icon: HiUserGroup,
route: route('roles.index'),
active: 'roles.*',
permission: 'view-role',
2 years ago
},
{
name: 'Users',
2 years ago
show: true,
icon: HiUsers,
route: route('user.index'),
active: 'user.index',
permission: 'view-user',
2 years ago
},
],
},
{
name: 'Setting',
show: true,
icon: HiOutlineCog,
route: route('setting.index'),
active: 'setting.*',
permission: 'view-setting',
},
]