fix: [sales] 무료 체험 기간을 1주일(7일)로 변경
- 가격 시뮬레이터: 1/2/3/6개월 선택 → 없음/1주일 토글로 변경 - promoFreeMonths → promoFreeTrial (boolean)으로 변환 - 연 구독료 계산: 1주일분(7/30) 차감 방식 적용 - 데모 테넌트: free_months → free_trial 필드 변경 - 계약 컨트롤러: validation 규칙 업데이트
This commit is contained in:
@@ -35,7 +35,7 @@ public function saveProducts(Request $request): JsonResponse
|
||||
'promotion.dev_discount_amount' => 'nullable|numeric|min:0',
|
||||
'promotion.dev_waive' => 'nullable|boolean',
|
||||
'promotion.sub_discount_percent' => 'nullable|numeric|min:0|max:50',
|
||||
'promotion.free_months' => 'nullable|integer|in:0,1,2,3,6',
|
||||
'promotion.free_trial' => 'nullable|boolean',
|
||||
'promotion.note' => 'nullable|string|max:200',
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user