feat: [shipment] 출고 프로세스 개선
- 생산완료 시 출하 자동생성 status를 ready(출하대기)로 변경 - stats에 completed_count 등 프론트 호환 필드 추가 - 절곡물/모터/부자재 수량을 개수(EA) 기반으로 변환
This commit is contained in:
@@ -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,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user