fix: [ecard] 분리 거래의 분개 버튼을 라벨 버튼으로 변경

- 분리가 있는 거래: 작은 '+' 아이콘 대신 '분개' 라벨 버튼 표시
- 분리 없는 거래: 기존 '+' 아이콘 유지
This commit is contained in:
김보곤
2026-02-24 19:32:47 +09:00
parent 5f437d493f
commit c0b350fa22

View File

@@ -1584,6 +1584,16 @@ className="px-1.5 py-0.5 bg-emerald-100 text-emerald-700 rounded text-[10px] fon
완료
</button>
);
} else if (hasSplits) {
return (
<button
onClick={() => onOpenJournalModal(log, uniqueKey, false, logSplits)}
className="px-1.5 py-0.5 bg-purple-100 text-purple-700 rounded text-[10px] font-bold hover:bg-purple-200 transition-colors"
title="분리 데이터 기반 분개 생성"
>
분개
</button>
);
} else {
return (
<button