fix: [finance] 일일자금일보 입금 테이블 잔액 열 제거
This commit is contained in:
@@ -224,19 +224,18 @@ className="px-3 py-2 border border-gray-300 rounded-lg text-sm"
|
||||
<table className="w-full border-collapse">
|
||||
<thead>
|
||||
<tr className="bg-blue-50">
|
||||
<th colSpan="3" className="px-4 py-2 text-center text-sm font-semibold text-blue-700 border">
|
||||
<th colSpan="2" className="px-4 py-2 text-center text-sm font-semibold text-blue-700 border">
|
||||
입금
|
||||
</th>
|
||||
</tr>
|
||||
<tr className="bg-gray-50">
|
||||
<th className="px-3 py-2 text-left text-xs font-medium text-gray-600 border">입금처/적요</th>
|
||||
<th className="px-3 py-2 text-right text-xs font-medium text-gray-600 border w-28">금액</th>
|
||||
<th className="px-3 py-2 text-right text-xs font-medium text-gray-600 border w-28">잔액</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{report.deposits.length === 0 ? (
|
||||
<tr><td colSpan="3" className="px-3 py-4 text-center text-gray-400 text-sm border">입금 내역 없음</td></tr>
|
||||
<tr><td colSpan="2" className="px-3 py-4 text-center text-gray-400 text-sm border">입금 내역 없음</td></tr>
|
||||
) : (
|
||||
<>
|
||||
{report.deposits.map((d, dIdx) => (
|
||||
@@ -248,9 +247,6 @@ className="px-3 py-2 border border-gray-300 rounded-lg text-sm"
|
||||
<td className="px-3 py-2 text-sm text-right text-blue-600 font-medium border">
|
||||
{formatCurrency(d.amount)}
|
||||
</td>
|
||||
<td className="px-3 py-2 text-sm text-right text-gray-600 border">
|
||||
{formatCurrency(d.balance)}
|
||||
</td>
|
||||
</tr>
|
||||
))}
|
||||
<tr className="bg-blue-50 font-semibold">
|
||||
@@ -258,7 +254,6 @@ className="px-3 py-2 border border-gray-300 rounded-lg text-sm"
|
||||
<td className="px-3 py-2 text-sm text-right text-blue-700 border">
|
||||
{formatCurrency(report.totalDeposit)}
|
||||
</td>
|
||||
<td className="px-3 py-2 border"></td>
|
||||
</tr>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user