Files
new_raffles/config/cpm-sidebar.php
2025-07-27 17:40:56 +05:45

185 lines
4.3 KiB
PHP

<?php
return [
[
'text' => 'Dashboard',
'url' => 'admin/dashboard',
'icon' => 'ri-home-4-line',
],
[
'text' => 'Calendar',
'url' => 'admin/calendar',
'icon' => 'ri-calendar-fill',
'can' => ['calendar.index'],
],
[
'text' => 'Attendance',
'icon' => 'ri-profile-fill',
'submenu' => [
[
'url' => 'admin/attendance',
'text' => 'Attendance',
'can' => ['attendance.index'],
],
[
'url' => 'admin/attendance-report/monthly',
'text' => 'Monthly',
'can' => ['attendanceReport.monthly'],
],
],
],
[
'text' => 'Leave',
'icon' => 'ri-book-2-fill',
'submenu' => [
[
'url' => 'admin/leave-type',
'text' => 'Leave Type',
'can' => ['leaveType.index'],
],
[
'url' => 'admin/leave',
'text' => 'Leave',
'can' => ['leave.index'],
],
],
],
[
'text' => 'Task',
'icon' => 'ri-stack-fill',
'submenu' => [
[
'url' => 'admin/task',
'text' => 'List',
'can' => ['task.index'],
],
[
'url' => 'admin/kanban',
'text' => 'Kanban Board',
'can' => ['task.kanban'],
],
],
],
[
'text' => 'Meeting',
'icon' => 'ri-honour-fill',
'url' => 'admin/meeting',
'can' => ['meeting.index'],
],
[
'text' => 'Reminder',
'icon' => 'ri-notification-2-line',
'url' => 'admin/reminder',
'can' => ['reminder.index'],
],
[
'text' => 'Event',
'icon' => 'ri-projector-fill',
'url' => 'admin/event',
'can' => ['event.index'],
],
[
'text' => 'Content Schedule',
'icon' => 'ri-slideshow-fill',
'url' => 'admin/content',
'can' => ['content.index'],
],
[
'text' => 'Content',
'icon' => 'ri-message-fill',
'url' => 'admin/content-draft',
'can' => ['content.draft'],
],
[
'text' => 'Content Category',
'icon' => 'ri-calendar-2-fill',
'url' => 'admin/content-category',
'can' => ['contentCategory.index'],
],
[
'text' => 'Client',
'url' => 'admin/client',
'icon' => 'ri-user-2-fill',
'can' => ['client.index'],
],
[
'text' => 'Product',
'url' => 'admin/product',
'icon' => 'ri-product-hunt-fill',
'can' => ['product.index'],
],
[
'url' => 'admin/employee',
'text' => 'Employee',
'icon' => 'ri-user-6-fill',
'can' => ['employee.index'],
],
[
'text' => 'Template',
'url' => 'admin/template',
'icon' => 'ri-mail-send-fill',
'module' => 'Template',
'can' => ['template.index'],
],
[
'text' => 'Authorization',
'icon' => 'ri-user-settings-line',
'module' => 'User',
'submenu' => [
[
'url' => 'admin/user',
'text' => 'User Management',
'can' => ['user.index'],
],
[
'url' => 'admin/role',
'text' => 'Role Management',
'can' => ['user.index'],
],
[
'url' => 'admin/permission',
'text' => 'Permission Management',
'can' => ['permission.index'],
],
],
],
[
'text' => 'Admin Setup',
'icon' => 'ri-settings-line',
'module' => 'CCMS',
'submenu' => [
[
'url' => 'admin/branch',
'text' => 'Branch',
'can' => ['branch.index'],
],
[
'url' => 'admin/department',
'text' => 'Department',
'can' => ['department.index'],
],
[
'url' => 'admin/designation',
'text' => 'Designation',
'can' => ['designation.index'],
],
],
],
];