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:
@@ -285,6 +285,8 @@ public function store(array $data)
|
||||
$options = 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' => $nodeOptions['width'] ?? $nodeOptions['open_width'] ?? null,
|
||||
'height' => $nodeOptions['height'] ?? $nodeOptions['open_height'] ?? null,
|
||||
'cutting_info' => $nodeOptions['cutting_info'] ?? null,
|
||||
|
||||
Reference in New Issue
Block a user