feat: [hr] 사원 연봉 등록 시 급여 산정 테이블 추가
- 고정연장근로수당 산정 계산 로직 구현 (기본급, 통상시급, 고정OT 자동 계산) - 수정 모드에서 실시간 급여 산정 미리보기 테이블 - 조회 모드에서 요약/상세 급여 산정 내역 표시 - 식대, 월 고정연장근로시간 입력 필드 추가 - 계산 결과를 salary_info에 저장하여 급여관리에서 활용 가능
This commit is contained in:
@@ -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',
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user