fix: [hr] 월 고정연장근로시간 최대값 52시간으로 제한

This commit is contained in:
김보곤
2026-03-12 14:39:00 +09:00
parent c42981cbe3
commit 4d160b5d7b
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ 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',
'fixed_overtime_hours' => 'nullable|integer|min:0|max:52',
'effective_date' => 'nullable|date',
'notes' => 'nullable|string|max:500',
]);

View File

@@ -166,7 +166,7 @@ class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:rin
<label class="block text-sm font-medium text-gray-700 mb-1"> 고정연장근로시간</label>
<input type="number" x-model.number="form.fixed_overtime_hours"
placeholder="예: 22"
min="0" max="100" step="1"
min="0" max="52" step="1"
class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<p class="text-xs text-gray-400 mt-1">변동값 (사원별 상이)</p>
</div>