fix: [production] product_code 전파 버그 수정
- OrderService::createProductionOrder에 product_code/product_name 추가 - WorkOrderService::store 수주복사 경로에 product_code/product_name 추가 - order_nodes.options → work_order_items.options 전파 누락 해결
This commit is contained in:
@@ -1410,6 +1410,8 @@ public function createProductionOrder(int $orderId, array $data)
|
||||
$woItemOptions = array_filter([
|
||||
'floor' => $orderItem->floor_code,
|
||||
'code' => $orderItem->symbol_code,
|
||||
'product_code' => ! empty($nodeOptions['product_code']) ? $nodeOptions['product_code'] : null,
|
||||
'product_name' => ! empty($nodeOptions['product_name']) ? $nodeOptions['product_name'] : null,
|
||||
'width' => $woWidth,
|
||||
'height' => $woHeight,
|
||||
'cutting_info' => $nodeOptions['cutting_info'] ?? null,
|
||||
|
||||
Reference in New Issue
Block a user