feat: [hr] 인사관리 사원관리 Phase 1 구현
- Employee, Position 모델 생성 (tenant_user_profiles, positions 테이블) - EmployeeService 생성 (CRUD, 통계, 필터/검색/페이지네이션) - 뷰 컨트롤러(HR/EmployeeController) + API 컨트롤러 생성 - Blade 뷰: index(통계카드+HTMX테이블), create, edit, show, partials/table - 라우트: web.php(/hr/employees/*), api.php(/admin/hr/employees/*)
This commit is contained in:
@@ -883,6 +883,21 @@
|
||||
return response()->file(public_path('일일자금일보.html'));
|
||||
});
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| HR Routes (인사관리)
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
Route::middleware('auth')->prefix('hr')->name('hr.')->group(function () {
|
||||
// 사원관리
|
||||
Route::prefix('employees')->name('employees.')->group(function () {
|
||||
Route::get('/', [\App\Http\Controllers\HR\EmployeeController::class, 'index'])->name('index');
|
||||
Route::get('/create', [\App\Http\Controllers\HR\EmployeeController::class, 'create'])->name('create');
|
||||
Route::get('/{id}', [\App\Http\Controllers\HR\EmployeeController::class, 'show'])->name('show');
|
||||
Route::get('/{id}/edit', [\App\Http\Controllers\HR\EmployeeController::class, 'edit'])->name('edit');
|
||||
});
|
||||
});
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Finance Routes (재무 관리)
|
||||
|
||||
Reference in New Issue
Block a user