updated dashboard page

This commit was merged in pull request #21.
This commit is contained in:
victorAnumudu
2025-04-28 14:32:24 +01:00
parent 83cf0a9770
commit 0109809b42
13 changed files with 174 additions and 91 deletions
+16
View File
@@ -46,6 +46,12 @@ export default function LoansCom() {
<th scope="col" className="px-2 text-right">
Loan Amount
</th>
<th scope="col" className="px-2 text-right">
Repay Amount
</th>
<th scope="col" className="px-2 text-right">
Install Amount
</th>
<th scope="col" className="px-2 text-right">
Added
</th>
@@ -72,6 +78,16 @@ export default function LoansCom() {
<div className="font-normal text-gray-500">{formatNumber(item?.initial_loan_amount)}</div>
</div>
</td>
<td className="px-2">
<div className="text-right">
<div className="font-normal text-gray-500">{formatNumber(item?.repayment_amount)}</div>
</div>
</td>
<td className="px-2">
<div className="text-right">
<div className="font-normal text-gray-500">{formatNumber(item?.installment_amount)}</div>
</div>
</td>
<td className="px-2">
<div className="text-right">
<div className="font-normal text-gray-500">{getDateFromDateString(item?.created_at)}</div>