feat(API): 작업일지 생성/조회 API 추가

- WorkOrderService: getWorkLogTemplate, getWorkLog, createWorkLog 메서드 추가
- WorkOrderController: 작업일지 3개 엔드포인트 추가
- 라우트: GET work-log-template, GET/POST work-log
- WorkOrder 모델: documents() MorphMany 관계 추가
- i18n: work_log_saved, no_work_log_template 메시지 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-12 09:39:48 +09:00
parent 911c8a36ad
commit 45dd18dbab
6 changed files with 367 additions and 0 deletions

View File

@@ -424,6 +424,7 @@
'invalid_transition' => "상태를 ':from'에서 ':to'(으)로 변경할 수 없습니다. 허용된 상태: :allowed",
'assignee_required_for_linked' => '수주 연동 등록 시 담당자를 선택해주세요.',
'no_inspection_template' => '검사용 문서 양식이 설정되지 않았습니다.',
'no_work_log_template' => '작업일지 양식이 설정되지 않았습니다.',
],
// 검사 관련