fix: [order] 견적→수주 변환 개소별 분리 구현
- CreateFromQuoteRequest 검증 규칙 추가 - Order 모델 견적 연동 관계 보강 - OrderService 변환 시 개소별 분리 로직
This commit is contained in:
@@ -16,6 +16,13 @@ public function rules(): array
|
||||
return [
|
||||
'delivery_date' => 'nullable|date',
|
||||
'memo' => 'nullable|string',
|
||||
'delivery_method_code' => 'nullable|string',
|
||||
'options' => 'nullable|array',
|
||||
'options.receiver' => 'nullable|string',
|
||||
'options.receiver_contact' => 'nullable|string',
|
||||
'options.shipping_address' => 'nullable|string',
|
||||
'options.shipping_address_detail' => 'nullable|string',
|
||||
'options.shipping_cost_code' => 'nullable|string',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user