feat(API): 검사 문서/성적서 연동 개선

- DocumentService: formatTemplateForReact 필드명 정합성 수정 (column_type, sub_labels, section title/image_path)
- WorkOrderService: process.options 로딩, 검사데이터 document_data 변환 로직 추가
- StoreItemInspectionRequest: templateValues 유효성 규칙 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-11 15:58:39 +09:00
parent a3a4e18e8a
commit 51aad4e522
3 changed files with 62 additions and 11 deletions

View File

@@ -37,6 +37,8 @@ public function rules(): array
'inspection_data.gapPoints.*.right' => 'nullable|numeric',
'inspection_data.judgment' => ['nullable', Rule::in(['pass', 'fail'])],
'inspection_data.nonConformingContent' => 'nullable|string|max:1000',
'inspection_data.templateValues' => 'nullable|array',
'inspection_data.templateValues.*' => 'nullable',
];
}