update datatable
This commit is contained in:
+47
-47
@@ -9,29 +9,29 @@ return [
|
||||
'type' => 'group',
|
||||
'title' => 'Package vCenter',
|
||||
'icon' => 'box',
|
||||
'active' => ['administrator/package/*'],
|
||||
'active' => ['package.datacenter.*', 'package.host.*', 'package.datastore.*', 'package.folder.*', 'package.network.*', 'package.group.*', 'package.version.*', 'package.ipaddress.*', 'package.vm.*'],
|
||||
'children' => [
|
||||
['title' => 'Datacenter', 'url' => '/administrator/package/datacenter/list-all-datacenter', 'active' => ['administrator/package/datacenter/*']],
|
||||
['title' => 'Host', 'url' => '/administrator/package/host/list-all-host', 'active' => ['administrator/package/host/*']],
|
||||
['title' => 'Datastore', 'url' => '/administrator/package/datastore/list-all-datastore', 'active' => ['administrator/package/datastore/*']],
|
||||
['title' => 'Folder', 'url' => '/administrator/package/folder/list-all-folder', 'active' => ['administrator/package/folder/*']],
|
||||
['title' => 'Network Adapter', 'url' => '/administrator/package/network/list-all-network', 'active' => ['administrator/package/network/*']],
|
||||
['title' => 'Group Os', 'url' => '/administrator/package/group/list-all-group', 'active' => ['administrator/package/group/*']],
|
||||
['title' => 'Os Version', 'url' => '/administrator/package/version/list-all-os-version', 'active' => ['administrator/package/version/*']],
|
||||
['title' => 'IP Mapping', 'url' => '/administrator/package/ipaddress/list-all-ip-address', 'active' => ['administrator/package/ipaddress/*']],
|
||||
['title' => 'Virtual Machines', 'url' => '/administrator/package/vm/list-all-vm', 'active' => ['administrator/package/vm/*']],
|
||||
['title' => 'Datacenter', 'route' => 'package.datacenter.index', 'active' => ['package.datacenter.*']],
|
||||
['title' => 'Host', 'route' => 'package.host.index', 'active' => ['package.host.*']],
|
||||
['title' => 'Datastore', 'route' => 'package.datastore.index', 'active' => ['package.datastore.*']],
|
||||
['title' => 'Folder', 'route' => 'package.folder.index', 'active' => ['package.folder.*']],
|
||||
['title' => 'Network Adapter', 'route' => 'package.network.index', 'active' => ['package.network.*']],
|
||||
['title' => 'Group Os', 'route' => 'package.group.index', 'active' => ['package.group.*']],
|
||||
['title' => 'Os Version', 'route' => 'package.version.index', 'active' => ['package.version.*']],
|
||||
['title' => 'IP Mapping', 'route' => 'package.ipaddress.index', 'active' => ['package.ipaddress.*']],
|
||||
['title' => 'Virtual Machines', 'route' => 'package.vm.index', 'active' => ['package.vm.*']],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type' => 'group',
|
||||
'title' => 'Module',
|
||||
'icon' => 'server',
|
||||
'active' => ['administrator/list-all-server-*', 'administrator/list-all-vcenter*', 'administrator/list-all-server-ip-pool*'],
|
||||
'active' => ['module.dns.*', 'module.hosting.*', 'module.vcenter.*', 'module.ippool.*'],
|
||||
'children' => [
|
||||
['title' => 'Module DNS', 'url' => '/administrator/list-all-server-dns', 'active' => ['administrator/list-all-server-dns*']],
|
||||
['title' => 'Module Hosting', 'url' => '/administrator/list-all-server-hosting', 'active' => ['administrator/list-all-server-hosting*']],
|
||||
['title' => 'Module vCenter', 'url' => '/administrator/list-all-vcenter', 'active' => ['administrator/list-all-vcenter*']],
|
||||
['title' => 'Module IP Pool', 'url' => '/administrator/list-all-server-ip-pool', 'active' => ['administrator/list-all-server-ip-pool*']],
|
||||
['title' => 'Module DNS', 'route' => 'module.dns.index', 'active' => ['module.dns.*']],
|
||||
['title' => 'Module Hosting', 'route' => 'module.hosting.index', 'active' => ['module.hosting.*']],
|
||||
['title' => 'Module vCenter', 'route' => 'module.vcenter.index', 'active' => ['module.vcenter.*']],
|
||||
['title' => 'Module IP Pool', 'route' => 'module.ippool.index', 'active' => ['module.ippool.*']],
|
||||
],
|
||||
],
|
||||
[
|
||||
@@ -42,57 +42,57 @@ return [
|
||||
'type' => 'group',
|
||||
'title' => 'Manager Admin',
|
||||
'icon' => 'users',
|
||||
'active' => ['administrator/list-all', 'administrator/list-role*'],
|
||||
'active' => ['admin.user.*', 'role.*'],
|
||||
'children' => [
|
||||
['title' => 'List Admin', 'url' => '/administrator/list-all', 'active' => ['administrator/list-all*']],
|
||||
['title' => 'Administrator Roles', 'url' => '/administrator/list-role', 'active' => ['administrator/list-role*']],
|
||||
['title' => 'List Admin', 'route' => 'admin.user.index', 'active' => ['admin.user.*']],
|
||||
['title' => 'Administrator Roles', 'route' => 'role.index', 'active' => ['role.*']],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type' => 'group',
|
||||
'title' => 'Client',
|
||||
'icon' => 'users',
|
||||
'active' => ['administrator/list-customer*', 'administrator/add-client*'],
|
||||
'active' => ['customer.*'],
|
||||
'children' => [
|
||||
['title' => 'View All Client', 'url' => '/administrator/list-customer', 'active' => ['administrator/list-customer*']],
|
||||
['title' => 'Add new Client', 'url' => '/administrator/add-client', 'active' => ['administrator/add-client*']],
|
||||
['title' => 'View All Client', 'route' => 'customer.index', 'active' => ['customer.index', 'customer.info', 'customer.profile', 'customer.product', 'customer.domain', 'customer.invoice', 'customer.trans', 'customer.email', 'customer.log']],
|
||||
['title' => 'Add new Client', 'route' => 'customer.create', 'active' => ['customer.create']],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type' => 'group',
|
||||
'title' => 'Product',
|
||||
'icon' => 'cloud',
|
||||
'active' => ['administrator/all-product*', 'administrator/list-addon*', 'administrator/list-domain*'],
|
||||
'active' => ['product.*', 'addon.*', 'domain.*'],
|
||||
'children' => [
|
||||
['title' => 'All Product/Services', 'url' => '/administrator/all-product', 'active' => ['administrator/all-product*']],
|
||||
['title' => 'Product Addon', 'url' => '/administrator/list-addon', 'active' => ['administrator/list-addon*']],
|
||||
['title' => 'Domain Pricing', 'url' => '/administrator/list-domain', 'active' => ['administrator/list-domain*']],
|
||||
['title' => 'All Product/Services', 'route' => 'product.index', 'active' => ['product.*']],
|
||||
['title' => 'Product Addon', 'route' => 'addon.index', 'active' => ['addon.*']],
|
||||
['title' => 'Domain Pricing', 'route' => 'domain.index', 'active' => ['domain.*']],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type' => 'group',
|
||||
'title' => 'Orders',
|
||||
'icon' => 'shopping-cart',
|
||||
'active' => ['administrator/list-all-order*', 'administrator/add-new-order*'],
|
||||
'active' => ['admin.order.*'],
|
||||
'children' => [
|
||||
['title' => 'View All Orders', 'url' => '/administrator/list-all-order', 'active' => ['administrator/list-all-order']],
|
||||
['title' => 'Pending Orders', 'url' => '/administrator/list-all-order?status=pending', 'active' => []],
|
||||
['title' => 'Processing Orders', 'url' => '/administrator/list-all-order?status=processing', 'active' => []],
|
||||
['title' => 'Active Orders', 'url' => '/administrator/list-all-order?status=active', 'active' => []],
|
||||
['title' => 'Cancel Orders', 'url' => '/administrator/list-all-order?status=cancel', 'active' => []],
|
||||
['title' => 'Add New Orders', 'url' => '/administrator/add-new-order', 'active' => ['administrator/add-new-order*']],
|
||||
['title' => 'View All Orders', 'route' => 'admin.order.index', 'active' => ['admin.order.index'], 'params' => []],
|
||||
['title' => 'Pending Orders', 'route' => 'admin.order.index', 'active' => [], 'params' => ['status' => 'pending']],
|
||||
['title' => 'Processing Orders', 'route' => 'admin.order.index', 'active' => [], 'params' => ['status' => 'processing']],
|
||||
['title' => 'Active Orders', 'route' => 'admin.order.index', 'active' => [], 'params' => ['status' => 'active']],
|
||||
['title' => 'Cancel Orders', 'route' => 'admin.order.index', 'active' => [], 'params' => ['status' => 'cancel']],
|
||||
['title' => 'Add New Orders', 'route' => 'admin.order.create', 'active' => ['admin.order.create']],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type' => 'group',
|
||||
'title' => 'Invoices',
|
||||
'icon' => 'file-text',
|
||||
'active' => ['administrator/list-all-invoice*'],
|
||||
'active' => ['admin.invoice.*'],
|
||||
'children' => [
|
||||
['title' => 'View All Invoice', 'url' => '/administrator/list-all-invoice', 'active' => ['administrator/list-all-invoice']],
|
||||
['title' => 'Pending Invoice', 'url' => '/administrator/list-all-invoice?status=unpaid', 'active' => []],
|
||||
['title' => 'Paid Invoice', 'url' => '/administrator/list-all-invoice?status=active', 'active' => []],
|
||||
['title' => 'Cancel Invoice', 'url' => '/administrator/list-all-invoice?status=cancel', 'active' => []],
|
||||
['title' => 'View All Invoice', 'route' => 'admin.invoice.index', 'active' => ['admin.invoice.index'], 'params' => []],
|
||||
['title' => 'Pending Invoice', 'route' => 'admin.invoice.index', 'active' => [], 'params' => ['status' => 'unpaid']],
|
||||
['title' => 'Paid Invoice', 'route' => 'admin.invoice.index', 'active' => [], 'params' => ['status' => 'active']],
|
||||
['title' => 'Cancel Invoice', 'route' => 'admin.invoice.index', 'active' => [], 'params' => ['status' => 'cancel']],
|
||||
],
|
||||
],
|
||||
[
|
||||
@@ -103,37 +103,37 @@ return [
|
||||
'type' => 'group',
|
||||
'title' => 'Menus',
|
||||
'icon' => 'folder',
|
||||
'active' => ['administrator/list-menu*'],
|
||||
'active' => ['menu.*'],
|
||||
'children' => [
|
||||
['title' => 'View All Menu', 'url' => '/administrator/list-menu', 'active' => ['administrator/list-menu*']],
|
||||
['title' => 'View All Menu', 'route' => 'menu.index', 'active' => ['menu.*']],
|
||||
],
|
||||
],
|
||||
[
|
||||
'type' => 'item',
|
||||
'title' => 'Coupon',
|
||||
'icon' => 'tags',
|
||||
'url' => '/administrator/list-coupon',
|
||||
'active' => ['administrator/list-coupon*'],
|
||||
'route' => 'coupon.index',
|
||||
'active' => ['coupon.*'],
|
||||
],
|
||||
[
|
||||
'type' => 'item',
|
||||
'title' => 'Posts',
|
||||
'icon' => 'pencil',
|
||||
'url' => '/administrator/list-post',
|
||||
'active' => ['administrator/list-post*'],
|
||||
'route' => 'post.index',
|
||||
'active' => ['post.*'],
|
||||
],
|
||||
[
|
||||
'type' => 'item',
|
||||
'title' => 'Support',
|
||||
'icon' => 'ticket',
|
||||
'url' => '/administrator/list-all-support',
|
||||
'active' => ['administrator/list-all-support*'],
|
||||
'route' => 'support.index',
|
||||
'active' => ['support.*'],
|
||||
],
|
||||
[
|
||||
'type' => 'item',
|
||||
'title' => 'Payment Method',
|
||||
'icon' => 'credit-card',
|
||||
'url' => '/administrator/list-payment',
|
||||
'active' => ['administrator/list-payment*'],
|
||||
'route' => 'payment.index',
|
||||
'active' => ['payment.*'],
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user