fix: [order] 견적→수주 변환 개소별 분리 구현

- CreateFromQuoteRequest 검증 규칙 추가
- Order 모델 견적 연동 관계 보강
- OrderService 변환 시 개소별 분리 로직
This commit is contained in:
2026-03-17 13:55:28 +09:00
parent e5da452fde
commit afc31be642
3 changed files with 188 additions and 92 deletions

View File

@@ -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',
];
}