fix: [equipment] 점검표 휴일 표시 및 주간 1주 저장 버그 수정
- 점검 그리드에 holidays 테이블 기반 휴일 표시 (빨간 배경) - 휴일/주말 셀 클릭 차단 (UI + 서버 양쪽) - 자동 판정에서 휴일 제외 (기존 주말만 제외 → 주말+휴일) - 주간 1주 열 저장 누락 수정 (resolvePeriod에서 isoWeekYear 사용) - toggleDetail, setResult에 비근무일 검증 추가 - 범례에 '휴일/주말 (점검 불가)' 안내 추가
This commit is contained in:
@@ -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,
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user