fix:Blade 템플릿 문법 충돌 수정

- style={{ }} 대신 Tailwind 클래스 min-w-[70px] 사용
- Blade의 {{ }} 해석 문제 해결

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
pro
2026-01-23 15:28:12 +09:00
parent 144bd0974a
commit 39c97e2cb5

View File

@@ -648,12 +648,11 @@ className="p-1.5 text-purple-500 hover:bg-purple-100 rounded-lg transition-color
<select
value={log.deductionType || (log.merchantBizNum ? 'deductible' : 'non_deductible')}
onChange={(e) => onFieldChange(index, 'deductionType', e.target.value)}
className={`px-3 py-1.5 rounded text-sm font-bold border-0 cursor-pointer ${
className={`px-3 py-1.5 rounded text-sm font-bold border-0 cursor-pointer min-w-[70px] ${
(log.deductionType || (log.merchantBizNum ? 'deductible' : 'non_deductible')) === 'deductible'
? 'bg-green-100 text-green-700'
: 'bg-red-500 text-white'
}`}
style={{ minWidth: '70px' }}
>
<option value="deductible">공제</option>
<option value="non_deductible">불공</option>