feat: [hr] 휴가관리 참조자 선택 기능 추가

- 휴가 신청 모달에 참조자 검색/선택 UI 추가 (Alpine.js)
- 부서별 사용자 목록에서 참조자 검색 및 녹색 칩 표시
- LeaveController 참조 배열 유효성 검증 추가
- LeaveService에서 결재선 steps에 참조자 자동 병합
This commit is contained in:
김보곤
2026-03-10 00:09:09 +09:00
parent fff45cf707
commit 512f01bea6
3 changed files with 141 additions and 2 deletions

View File

@@ -53,6 +53,8 @@ public function store(Request $request): JsonResponse
'end_date' => 'required|date|after_or_equal:start_date',
'reason' => 'nullable|string|max:1000',
'approval_line_id' => 'nullable|integer|exists:approval_lines,id',
'references' => 'nullable|array',
'references.*.user_id' => 'required|integer|exists:users,id',
]);
try {