| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- export default {
- // Owner
- 1: [
- {
- label: 'Home',
- items: [
- {
- label: 'Dashboard',
- icon: 'pi pi-chart-bar',
- to: '/dashboards',
- component: 'Dashboards/Index',
- },
- ],
- },
- {
- label: 'Laporan',
- items: [
- {
- label: 'Penjualan',
- icon: 'pi pi-circle',
- to: '/sales/report',
- component: 'Sales/Report',
- },
- {
- label: 'Pembelian',
- icon: 'pi pi-circle',
- to: '/purchases/report',
- component: 'Purchases/Report',
- },
- ],
- },
- {
- label: 'Master',
- items: [
- {
- label: 'User',
- icon: 'pi pi-user',
- to: '/users',
- component: 'Users/Index',
- },
- ],
- },
- {
- label: 'Pengaturan',
- items: [
- {
- label: 'Pengaturan',
- icon: 'pi pi-cog',
- to: '/settings',
- component: 'Settigs/Index',
- },
- ],
- },
- ],
-
- // Admin 1
- 2: [
- {
- label: 'Home',
- items: [
- {
- label: 'Dashboard',
- icon: 'pi pi-chart-bar',
- to: '/dashboards',
- component: 'Dashboards/Index',
- },
- ],
- },
- {
- label: 'Master',
- items: [
- {
- label: 'Pelanggan',
- icon: 'pi pi-users',
- to: '/customers',
- component: 'Customers/Index',
- },
- {
- label: 'Penjualan',
- icon: 'pi pi-tag',
- to: '/sales',
- component: 'Sales/Index',
- },
- {
- label: 'Stok Barang',
- icon: 'pi pi-box',
- to: '/stock-products',
- component: 'StockProducts/Index',
- },
- ],
- },
- ],
-
- // Admin 2
- 3: [
- {
- label: 'Home',
- items: [
- {
- label: 'Dashboard',
- icon: 'pi pi-chart-bar',
- to: '/dashboards',
- component: 'Dashboards/Index',
- },
- ],
- },
- {
- label: 'Master',
- items: [
- {
- label: 'Supplier',
- icon: 'pi pi-shopping-cart',
- to: '/suppliers',
- component: 'Suppliers/Index',
- },
- {
- label: 'Produk',
- icon: 'pi pi-th-large',
- to: '/products',
- component: 'Products/Index',
- },
- {
- label: 'Pembelian',
- icon: 'pi pi-shopping-cart',
- to: '/purchases',
- component: 'Purchases/Index',
- },
- {
- label: 'Stok Barang',
- icon: 'pi pi-box',
- to: '/stock-products',
- component: 'StockProducts/Index',
- },
- ],
- },
- ],
- }
|