- Added DocumentController for handling document uploads and management. - Created Document model with necessary attributes and relationships. - Implemented DocumentService for business logic related to documents. - Set up routes for document management in both web and API contexts. - Developed views for document upload using Dropzone for file handling. - Included necessary assets and styles for the Document module. - Created migration for documents table with appropriate fields. - Added configuration and service provider for the Document module.
244 lines
5.8 KiB
PHP
244 lines
5.8 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' => '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' => 'Team',
|
|
'url' => 'admin/team',
|
|
'icon' => 'ri-team-line',
|
|
'module' => 'CCMS',
|
|
'can' => ['team.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' => 'Gallery',
|
|
'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' => 'Enquiry',
|
|
'url' => 'admin/enquiry',
|
|
'icon' => ' ri-cellphone-line',
|
|
'module' => 'CCMS',
|
|
'can' => ['enquiry.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' => 'Documents',
|
|
'url' => 'admin/document',
|
|
'icon' => 'ri-file-text-line',
|
|
'module' => 'Document',
|
|
'can' => ['document.index'],
|
|
],
|
|
[
|
|
'text' => 'Resume Builder',
|
|
'url' => 'admin/resume',
|
|
'icon' => 'ri-pages-line',
|
|
'module' => 'CCMS',
|
|
'can' => ['resume.index'],
|
|
],
|
|
];
|