fix: 견적→수주 변환 시 담당자 정보 누락 수정
- Order::createFromQuote() 잘못된 필드명 수정 (contact_person→contact, delivery_date→completion_date) - 견적 담당자(manager)를 orders.options.manager_name에 저장 - StoreOrderRequest/UpdateOrderRequest에 options.manager_name 유효성 검증 추가 - WorkOrderService show()에서 salesOrder.options 컬럼 포함하여 담당자 표시 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -48,6 +48,7 @@ public function rules(): array
|
||||
'options.receiver_contact' => 'nullable|string|max:100',
|
||||
'options.shipping_address' => 'nullable|string|max:500',
|
||||
'options.shipping_address_detail' => 'nullable|string|max:500',
|
||||
'options.manager_name' => 'nullable|string|max:100',
|
||||
|
||||
// 품목 배열 (전체 교체)
|
||||
'items' => 'nullable|array',
|
||||
|
||||
Reference in New Issue
Block a user