feat: [qms] 수주로트 감사 상세 정보 확장
- 수주 상세: 개소별 제품, 모터, 절곡물, 부자재 정보 추가 - 출하 상세: 배차정보, 제품 그룹별 품목 분류 추가 - 확인 로직: documentOrders 기준 수주로트 카운트로 변경 - locations relation 경로 수정 (documentOrders.locations) - 품질관리서 파일 정보 routeDocuments에 포함 - Shipment Client 모델 네임스페이스 수정 - DocumentService data relation null 처리 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1034,7 +1034,7 @@ private function formatDocumentForReact(Document $document): array
|
||||
'submitted_at' => $document->submitted_at?->toIso8601String(),
|
||||
'completed_at' => $document->completed_at?->toIso8601String(),
|
||||
'created_at' => $document->created_at?->toIso8601String(),
|
||||
'data' => $document->data->map(fn ($d) => [
|
||||
'data' => ($document->getRelation('data') ?? collect())->map(fn ($d) => [
|
||||
'section_id' => $d->section_id,
|
||||
'column_id' => $d->column_id,
|
||||
'row_index' => $d->row_index,
|
||||
|
||||
Reference in New Issue
Block a user