feat: [shipment] 출고 프로세스 개선

- 생산완료 시 출하 자동생성 status를 ready(출하대기)로 변경
- stats에 completed_count 등 프론트 호환 필드 추가
- 절곡물/모터/부자재 수량을 개수(EA) 기반으로 변환
This commit is contained in:
2026-03-18 09:22:23 +09:00
parent bba8f6c0a0
commit 3259a64beb
2 changed files with 5 additions and 2 deletions

View File

@@ -122,8 +122,11 @@ public function stats(): array
// 프론트엔드 호환 필드 (snake_case)
'today_shipment_count' => $todayScheduled,
'scheduled_count' => $scheduled,
'ready_count' => $ready,
'shipping_count' => $shipping,
'completed_count' => $completed,
'urgent_count' => $urgent,
'total_count' => $total,
];
}