diff --git a/app/Http/Controllers/HR/AttendanceController.php b/app/Http/Controllers/HR/AttendanceController.php index d1e6ff76..8dad2083 100644 --- a/app/Http/Controllers/HR/AttendanceController.php +++ b/app/Http/Controllers/HR/AttendanceController.php @@ -18,8 +18,12 @@ public function __construct( /** * 근태현황 목록 페이지 (조회 전용) */ - public function index(): View + public function index(Request $request): View|Response { + if ($request->header('HX-Request')) { + return response('', 200)->header('HX-Redirect', route('hr.attendances.index')); + } + $stats = $this->attendanceService->getMonthlyStats(); $departments = $this->attendanceService->getDepartments(); $statusMap = Attendance::STATUS_MAP;