feat: 견적 할인금액(discount_amount) 직접 입력 지원
- QuoteStoreRequest/UpdateRequest에 discount_amount 필드 추가 - QuoteService: 프론트엔드에서 계산한 할인금액 우선 사용, 없으면 비율로 계산 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -69,6 +69,7 @@ public function rules(): array
|
||||
'labor_cost' => 'nullable|numeric|min:0',
|
||||
'install_cost' => 'nullable|numeric|min:0',
|
||||
'discount_rate' => 'nullable|numeric|min:0|max:100',
|
||||
'discount_amount' => 'nullable|numeric|min:0',
|
||||
'total_amount' => 'nullable|numeric|min:0',
|
||||
|
||||
// 기타 정보
|
||||
|
||||
Reference in New Issue
Block a user