fix:홈택스 수동입력 validation 오류 메시지 한글화
validation.required 대신 필드별 한글 오류 메시지 표시 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1428,6 +1428,17 @@ public function manualStore(Request $request): JsonResponse
|
||||
'remark' => 'nullable|string|max:500',
|
||||
'tax_type' => 'nullable|integer|in:1,2,3',
|
||||
'purpose_type' => 'nullable|integer|in:1,2',
|
||||
], [
|
||||
'invoice_type.required' => '매출/매입 구분은 필수입니다.',
|
||||
'invoice_type.in' => '매출/매입 구분값이 올바르지 않습니다.',
|
||||
'write_date.required' => '작성일자는 필수입니다.',
|
||||
'write_date.date' => '작성일자 형식이 올바르지 않습니다.',
|
||||
'supply_amount.required' => '공급가액은 필수입니다.',
|
||||
'supply_amount.numeric' => '공급가액은 숫자여야 합니다.',
|
||||
'supply_amount.min' => '공급가액은 0 이상이어야 합니다.',
|
||||
'tax_amount.required' => '세액은 필수입니다.',
|
||||
'tax_amount.numeric' => '세액은 숫자여야 합니다.',
|
||||
'tax_amount.min' => '세액은 0 이상이어야 합니다.',
|
||||
]);
|
||||
|
||||
// MAN-YYYYMMDD-NNN 형식 자동채번
|
||||
|
||||
Reference in New Issue
Block a user