feat:휴일관리 중복 방지 및 년도별 삭제 기능 추가

- store/bulkStore 메소드에 중복 휴일 등록 방지 로직 추가
- 년도별 일괄 삭제 기능 (destroyByYear) 추가
- 휴일관리 UI에 년도 전체 삭제 버튼 추가

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-06 09:10:07 +09:00
parent 491138495f
commit 91e3ec8cf1
3 changed files with 85 additions and 1 deletions

View File

@@ -401,6 +401,7 @@
Route::put('/{id}', [HolidayController::class, 'update'])->name('update');
Route::delete('/{id}', [HolidayController::class, 'destroy'])->name('destroy');
Route::post('/bulk', [HolidayController::class, 'bulkStore'])->name('bulk');
Route::delete('/year/{year}', [HolidayController::class, 'destroyByYear'])->name('destroy-year');
});
// 명함 OCR API