fix: [equipment] 점검표 휴일 표시 및 주간 1주 저장 버그 수정

- 점검 그리드에 holidays 테이블 기반 휴일 표시 (빨간 배경)
- 휴일/주말 셀 클릭 차단 (UI + 서버 양쪽)
- 자동 판정에서 휴일 제외 (기존 주말만 제외 → 주말+휴일)
- 주간 1주 열 저장 누락 수정 (resolvePeriod에서 isoWeekYear 사용)
- toggleDetail, setResult에 비근무일 검증 추가
- 범례에 '휴일/주말 (점검 불가)' 안내 추가
This commit is contained in:
김보곤
2026-02-28 15:29:56 +09:00
parent 69718e7c18
commit ba792a0fcc
4 changed files with 74 additions and 11 deletions

View File

@@ -35,10 +35,13 @@ public function index(Request $request)
);
if ($request->header('HX-Request')) {
$holidayDates = InspectionCycle::getHolidayDates($cycle, $period);
return view('equipment.partials.inspection-grid', [
'inspections' => $inspections,
'cycle' => $cycle,
'period' => $period,
'holidayDates' => $holidayDates,
]);
}