feat(API): 중간검사 문서 템플릿 동적 연동 - process_steps ↔ document_templates 연결
- process_steps 테이블에 document_template_id FK 추가 (migration) - ProcessStep 모델에 documentTemplate BelongsTo 관계 추가 - ProcessStepService에서 documentTemplate eager loading - StoreProcessStepRequest/UpdateProcessStepRequest에 document_template_id 유효성 검증 - WorkOrderService에 getInspectionTemplate(), createInspectionDocument() 메서드 추가 - WorkOrderController에 inspection-template/inspection-document 엔드포인트 추가 - DocumentService.formatTemplateForReact() 접근자 public으로 변경 - i18n 메시지 키 추가 (inspection_document_created, no_inspection_template) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -439,6 +439,7 @@
|
||||
'materials_fetched' => '자재 목록을 조회했습니다.',
|
||||
'material_input_registered' => '자재 투입이 등록되었습니다.',
|
||||
'inspection_saved' => '검사 데이터가 저장되었습니다.',
|
||||
'inspection_document_created' => '검사 문서가 생성되었습니다.',
|
||||
],
|
||||
|
||||
// 검사 관리
|
||||
|
||||
Reference in New Issue
Block a user