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.
|
|
|
import {
|
|
|
|
HiChartPie,
|
|
|
|
HiUser,
|
|
|
|
HiUsers,
|
|
|
|
HiUserGroup,
|
|
|
|
HiViewList,
|
|
|
|
HiOutlineCash,
|
|
|
|
} from "react-icons/hi";
|
|
|
|
|
|
|
|
export default [
|
|
|
|
{
|
|
|
|
name: "Dashboard",
|
|
|
|
show: true,
|
|
|
|
icon: HiChartPie,
|
|
|
|
route: route("dashboard"),
|
|
|
|
active: "dashboard",
|
|
|
|
permission: "view-dashboard",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Transaksi Penjualan",
|
|
|
|
show: true,
|
|
|
|
icon: HiOutlineCash,
|
|
|
|
route: route("sale.index"),
|
|
|
|
active: "sale.*",
|
|
|
|
permission: "view-sale",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Kategori",
|
|
|
|
show: true,
|
|
|
|
icon: HiViewList,
|
|
|
|
route: route("category.index"),
|
|
|
|
active: "category.*",
|
|
|
|
permission: "view-category",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Barang",
|
|
|
|
show: true,
|
|
|
|
icon: HiViewList,
|
|
|
|
route: route("product.index"),
|
|
|
|
active: "product.*",
|
|
|
|
permission: "view-product",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Pelangan",
|
|
|
|
show: true,
|
|
|
|
icon: HiViewList,
|
|
|
|
route: route("customer.index"),
|
|
|
|
active: "customer.*",
|
|
|
|
permission: "view-customer",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "User",
|
|
|
|
show: true,
|
|
|
|
icon: HiUser,
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
name: "Roles",
|
|
|
|
show: true,
|
|
|
|
icon: HiUserGroup,
|
|
|
|
route: route("roles.index"),
|
|
|
|
active: "roles.*",
|
|
|
|
permission: "view-role",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Users",
|
|
|
|
show: true,
|
|
|
|
icon: HiUsers,
|
|
|
|
route: route("user.index"),
|
|
|
|
active: "user.index",
|
|
|
|
permission: "view-user",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
];
|