feat: [hr] 사원 연봉 등록 시 급여 산정 테이블 추가

- 고정연장근로수당 산정 계산 로직 구현 (기본급, 통상시급, 고정OT 자동 계산)
- 수정 모드에서 실시간 급여 산정 미리보기 테이블
- 조회 모드에서 요약/상세 급여 산정 내역 표시
- 식대, 월 고정연장근로시간 입력 필드 추가
- 계산 결과를 salary_info에 저장하여 급여관리에서 활용 가능
This commit is contained in:
김보곤
2026-03-12 14:34:21 +09:00
parent 26acd0e07b
commit de6ef7472a
3 changed files with 372 additions and 77 deletions

View File

@@ -61,6 +61,8 @@ public function update(Request $request, int $id): JsonResponse
$validated = $request->validate([
'annual_salary' => 'nullable|integer|min:0',
'meal_allowance' => 'nullable|integer|min:0|max:1000000',
'fixed_overtime_hours' => 'nullable|integer|min:0|max:100',
'effective_date' => 'nullable|date',
'notes' => 'nullable|string|max:500',
]);