feat:공통코드/카테고리 벌크 글로벌 복사, 동기화 환경설정 공통화

- 공통코드/카테고리 테넌트→글로벌 체크박스 벌크 복사 기능 추가
- 이미 대상에 존재하는 항목 체크박스 disabled 처리 (양방향)
- 공통코드 토글 크기 카테고리와 동일하게 축소
- 동기화 환경설정 모달을 공통 partial로 분리
- 동기화 리스트에서 불필요한 타입 컬럼 제거

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-30 13:16:44 +09:00
parent 0ea373e8e3
commit b6a3c4b506
11 changed files with 531 additions and 231 deletions

View File

@@ -318,9 +318,11 @@
Route::get('/', [CommonCodeController::class, 'index'])->name('index');
Route::post('/', [CommonCodeController::class, 'store'])->name('store');
Route::post('/bulk-copy', [CommonCodeController::class, 'bulkCopy'])->name('bulk-copy');
Route::post('/bulk-promote', [CommonCodeController::class, 'bulkPromoteToGlobal'])->name('bulk-promote');
Route::put('/{id}', [CommonCodeController::class, 'update'])->name('update');
Route::post('/{id}/toggle', [CommonCodeController::class, 'toggle'])->name('toggle');
Route::post('/{id}/copy', [CommonCodeController::class, 'copy'])->name('copy');
Route::post('/{id}/promote', [CommonCodeController::class, 'promoteToGlobal'])->name('promote');
Route::delete('/{id}', [CommonCodeController::class, 'destroy'])->name('destroy');
// 공통코드 동기화