Files
new_raffles/config/sidebar.php
Subash 52732b0f09 feat: Implement Career Management Module
- Created CareerController for handling career-related CRUD operations.
- Added Career model with necessary attributes and relationships.
- Created migration for careers table with relevant fields.
- Developed views for creating, editing, and listing careers.
- Implemented DataTables for career listing with action buttons.
- Added routes for career management and integrated with sidebar.
- Created client-side career detail template and updated career listing page.
- Added helper functions to fetch active careers for display.
2025-08-22 13:52:06 +05:45

304 lines
7.2 KiB
PHP

<?php
return [
[
'text' => 'Dashboard',
'url' => 'admin/dashboard',
'icon' => 'ri-home-4-line',
],
[
'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' => 'Setting',
'url' => 'admin/setting',
'icon' => 'ri-settings-4-line',
'module' => 'CCMS',
'can' => ['setting.index'],
],
[
'text' => 'Menu',
'url' => 'admin/menu',
'icon' => 'ri-menu-line',
'module' => 'CCMS',
'can' => ['menu.index'],
],
[
'text' => 'Enquiries',
'icon' => 'ri-cellphone-line',
'module' => 'CCMS',
'submenu' => [
[
'text' => 'Enquiry',
'url' => 'admin/enquiry',
'can' => ['enquiry.index'],
],
[
'text' => 'Counsellor Request',
'url' => 'admin/counselor',
'can' => ['counselor.index'],
],
[
'text' => 'Franchise Request',
'url' => 'admin/franchise',
'can' => ['franchise.index'],
],
[
'text' => 'Newsletter',
'url' => 'admin/newsletter',
'can' => ['newsletter.index'],
],
],
],
[
'text' => 'Offer Popup',
'url' => 'admin/popup',
'icon' => 'ri-gift-2-line',
'module' => 'CCMS',
'can' => ['popup.index'],
],
[
'text' => 'Counter',
'url' => 'admin/counter',
'icon' => 'ri-add-circle-line',
'module' => 'CCMS',
'can' => ['counter.index'],
],
[
'text' => 'Page',
'url' => 'admin/page',
'icon' => 'ri-pages-line',
'module' => 'CCMS',
'can' => ['page.index'],
],
[
'text' => 'Slider',
'url' => 'admin/slider',
'icon' => 'ri-slideshow-3-line',
'module' => 'CCMS',
'can' => ['slider.index'],
],
[
'text' => 'Testimonial',
'url' => 'admin/testimonial',
'icon' => 'ri-feedback-line',
'module' => 'CCMS',
'can' => ['testimonial.index'],
],
[
'text' => 'Partner',
'url' => 'admin/partner',
'icon' => 'ri-hand-heart-line',
'module' => 'CCMS',
'can' => ['partner.index'],
],
[
'text' => 'Service',
'url' => 'admin/service',
'icon' => 'ri-customer-service-2-line',
'module' => 'CCMS',
'can' => ['service.index'],
],
[
'text' => 'Events',
'url' => 'admin/event',
'icon' => 'ri-feedback-line',
'module' => 'CCMS',
'can' => ['event.index'],
],
[
'text' => 'Team',
'url' => 'admin/team',
'icon' => 'ri-team-line',
'module' => 'CCMS',
'can' => ['team.index'],
],
[
'text' => 'Career',
'url' => 'admin/career',
'icon' => 'ri-feedback-line',
'module' => 'CCMS',
'can' => ['career.index'],
],
[
'text' => 'Blog',
'icon' => 'ri-newspaper-line',
'module' => 'CCMS',
'submenu' => [
[
'url' => 'admin/category',
'text' => 'Blog Category',
'can' => ['category.index'],
],
[
'url' => 'admin/blog',
'text' => 'Blog',
'can' => ['blog.index'],
],
],
],
[
'text' => 'Study Abroad',
'icon' => 'ri-earth-line',
'module' => 'CCMS',
'submenu' => [
[
'url' => 'admin/country',
'text' => 'Country',
'can' => ['country.index'],
],
[
'url' => 'admin/institution',
'text' => 'Representative Institution',
'can' => ['institution.index'],
],
],
],
[
'text' => 'Testimonial Videos',
'icon' => ' ri-camera-line',
'module' => 'CCMS',
'submenu' => [
[
'url' => 'admin/gallery-category',
'text' => 'Gallery Category',
'can' => ['galleryCategory.index'],
],
[
'url' => 'admin/gallery',
'text' => 'Gallery',
'can' => ['gallery.index'],
],
],
],
[
'text' => 'FAQ',
'icon' => 'ri-questionnaire-line',
'module' => 'CCMS',
'submenu' => [
[
'url' => 'admin/faq-category',
'text' => 'FAQ Category',
'can' => ['faqCategory.index'],
],
[
'url' => 'admin/faq',
'text' => 'FAQ',
'can' => ['faq.index'],
],
],
],
[
'text' => 'Course Finder',
'icon' => 'ri-book-2-line',
'module' => 'CourseFinder',
'submenu' => [
[
'url' => 'admin/coop',
'text' => 'Co op',
'can' => ['coop.index'],
],
[
'url' => 'admin/required-document',
'text' => 'Document Requirements',
'can' => ['requiredDocument.index'],
],
[
'url' => 'admin/test',
'text' => 'Proficiency Test',
'can' => ['test.index'],
],
[
'url' => 'admin/program-level',
'text' => 'Program Level',
'can' => ['programLevel.index'],
],
[
'url' => 'admin/program',
'text' => 'Program',
'can' => ['program.index'],
],
],
],
[
'text' => 'Cost Calculator',
'icon' => 'ri-newspaper-line',
'module' => 'CostCalculator',
'submenu' => [
[
'url' => 'admin/stay',
'text' => 'Stay Type',
'can' => ['stay.index'],
],
[
'url' => 'admin/cost-calculator',
'text' => 'Cost Calculation',
'can' => ['cost.index'],
],
],
],
[
'text' => 'Free Resources',
'url' => 'admin/documents',
'icon' => 'ri-file-text-line',
'module' => 'Document',
'can' => ['documents.index'],
],
[
'text' => 'Resume Builder',
'url' => 'admin/resume',
'icon' => 'ri-pages-line',
'module' => 'CCMS',
'can' => ['resume.index'],
],
];