feat: [finance] 일반전표입력 기간 필터에 D-6월, D-7월 버튼 추가

This commit is contained in:
김보곤
2026-03-17 13:11:41 +09:00
parent 1ee4a0095c
commit 3cb5a5b481

View File

@@ -1218,6 +1218,8 @@ className="rounded-lg border border-stone-200 px-3 py-1.5 text-sm focus:ring-2 f
<button onClick={() => setMonthRange(-3)} className="px-2.5 py-1.5 text-xs bg-stone-100 text-stone-600 rounded-lg hover:bg-stone-200 transition-colors font-medium">D-3</button>
<button onClick={() => setMonthRange(-4)} className="px-2.5 py-1.5 text-xs bg-stone-100 text-stone-600 rounded-lg hover:bg-stone-200 transition-colors font-medium">D-4</button>
<button onClick={() => setMonthRange(-5)} className="px-2.5 py-1.5 text-xs bg-stone-100 text-stone-600 rounded-lg hover:bg-stone-200 transition-colors font-medium">D-5</button>
<button onClick={() => setMonthRange(-6)} className="px-2.5 py-1.5 text-xs bg-stone-100 text-stone-600 rounded-lg hover:bg-stone-200 transition-colors font-medium">D-6</button>
<button onClick={() => setMonthRange(-7)} className="px-2.5 py-1.5 text-xs bg-stone-100 text-stone-600 rounded-lg hover:bg-stone-200 transition-colors font-medium">D-7</button>
</div>
<button onClick={fetchData} disabled={loading}
className="px-4 py-1.5 text-sm bg-emerald-600 text-white rounded-lg hover:bg-emerald-700 transition-colors font-medium flex items-center gap-2 disabled:opacity-50">