feat:홈택스 테이블에 세액/합계 컬럼 추가

- 공급가액 옆에 세액, 합계 컬럼 추가
- 합계는 파란색 볼드로 강조 표시
- colSpan 11 → 13으로 조정

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-03 16:53:48 +09:00
parent fff3682ff7
commit 3e12ecf50d

View File

@@ -224,6 +224,8 @@ className="flex items-center gap-2 px-3 py-1.5 bg-blue-100 text-blue-700 rounded
<th className="px-3 py-3 text-center text-xs font-semibold text-[#495057] border-r border-[#dee2e6] whitespace-nowrap">사업자번호<br/>(주민번호)</th>
<th className="px-3 py-3 text-center text-xs font-semibold text-[#495057] border-r border-[#dee2e6] whitespace-nowrap">과세<br/>형태</th>
<th className="px-3 py-3 text-center text-xs font-semibold text-[#495057] border-r border-[#dee2e6] whitespace-nowrap">공급가액</th>
<th className="px-3 py-3 text-center text-xs font-semibold text-[#495057] border-r border-[#dee2e6] whitespace-nowrap">세액</th>
<th className="px-3 py-3 text-center text-xs font-semibold text-[#495057] border-r border-[#dee2e6] whitespace-nowrap">합계</th>
<th className="px-3 py-3 text-center text-xs font-semibold text-[#495057] border-r border-[#dee2e6] whitespace-nowrap">영수<br/>청구</th>
<th className="px-3 py-3 text-center text-xs font-semibold text-[#495057] border-r border-[#dee2e6] whitespace-nowrap">문서<br/>형태</th>
<th className="px-3 py-3 text-center text-xs font-semibold text-[#495057] border-r border-[#dee2e6] whitespace-nowrap">발급<br/>형태</th>
@@ -233,7 +235,7 @@ className="flex items-center gap-2 px-3 py-1.5 bg-blue-100 text-blue-700 rounded
<tbody>
{invoices.length === 0 ? (
<tr>
<td colSpan="11" className="px-6 py-8 text-center text-stone-400 border-b border-[#dee2e6]">
<td colSpan="13" className="px-6 py-8 text-center text-stone-400 border-b border-[#dee2e6]">
해당 기간에 조회된 세금계산서가 없습니다.
</td>
</tr>
@@ -278,6 +280,14 @@ className="flex items-center gap-2 px-3 py-1.5 bg-blue-100 text-blue-700 rounded
<td className="px-3 py-2.5 text-right text-[#212529] text-xs border-r border-[#dee2e6] whitespace-nowrap font-medium">
{formatCurrency(inv.supplyAmount)}
</td>
{/* 세액 */}
<td className="px-3 py-2.5 text-right text-[#212529] text-xs border-r border-[#dee2e6] whitespace-nowrap">
{formatCurrency(inv.taxAmount)}
</td>
{/* 합계 */}
<td className="px-3 py-2.5 text-right text-[#0d6efd] text-xs border-r border-[#dee2e6] whitespace-nowrap font-bold">
{formatCurrency(inv.totalAmount)}
</td>
{/* 영수청구 */}
<td className="px-3 py-2.5 text-center text-[#212529] text-xs border-r border-[#dee2e6]">
{inv.purposeTypeName || '-'}