2024-04-11 10:59:09 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
use Modules\Admin\Http\Controllers\AdminController;
|
2024-04-14 12:44:29 +00:00
|
|
|
use Modules\Admin\Http\Controllers\AppreciationController;
|
2024-04-15 12:16:31 +00:00
|
|
|
use Modules\Admin\Http\Controllers\CalendarController;
|
2024-04-15 08:02:40 +00:00
|
|
|
use Modules\Admin\Http\Controllers\CompanyController;
|
|
|
|
use Modules\Admin\Http\Controllers\CompanyTypeController;
|
|
|
|
use Modules\Admin\Http\Controllers\ComplaintController;
|
2024-04-15 12:16:31 +00:00
|
|
|
use Modules\Admin\Http\Controllers\EventController;
|
|
|
|
use Modules\Admin\Http\Controllers\HolidayController;
|
2024-04-14 12:44:29 +00:00
|
|
|
use Modules\Admin\Http\Controllers\PromotionDemotionController;
|
|
|
|
use Modules\Admin\Http\Controllers\ResignationController;
|
2024-04-15 08:02:40 +00:00
|
|
|
use Modules\Admin\Http\Controllers\TransferController;
|
|
|
|
use Modules\Admin\Http\Controllers\WarningController;
|
2024-04-11 10:59:09 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Web Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Route::group([], function () {
|
|
|
|
Route::resource('admin', AdminController::class)->names('admin');
|
2024-04-14 12:44:29 +00:00
|
|
|
Route::resource('promotion-demotion', PromotionDemotionController::class)->names('promotionDemotion');
|
|
|
|
Route::resource('appreciation', AppreciationController::class)->names('appreciation');
|
|
|
|
Route::resource('resignation', ResignationController::class)->names('resignation');
|
2024-04-15 08:02:40 +00:00
|
|
|
Route::resource('complaint', ComplaintController::class)->names('complaint');
|
|
|
|
Route::resource('transfer', TransferController::class)->names('transfer');
|
|
|
|
Route::resource('warning', WarningController::class)->names('warning');
|
|
|
|
Route::resource('company', CompanyController::class)->names('company');
|
|
|
|
Route::resource('company-type', CompanyTypeController::class)->names('companyType');
|
2024-04-15 12:16:31 +00:00
|
|
|
Route::resource('event', EventController::class)->names('event');
|
|
|
|
Route::resource('holiday', HolidayController::class)->names('holiday');
|
|
|
|
Route::resource('calendar', CalendarController::class)->names('calendar');
|
2024-04-11 10:59:09 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
require __DIR__ . '/route.countries.php';
|
|
|
|
require __DIR__ . '/route.provinces.php';
|
|
|
|
require __DIR__ . '/route.districts.php';
|
|
|
|
require __DIR__ . '/route.cities.php';
|
|
|
|
require __DIR__ . '/route.genders.php';
|
|
|
|
require __DIR__ . '/route.castes.php';
|
|
|
|
require __DIR__ . '/route.nationalities.php';
|