TENOR ADDED
This commit is contained in:
@@ -41,16 +41,16 @@ export default function LoanDetails({transactionID}) {
|
|||||||
Name
|
Name
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2 text-right">
|
<th scope="col" className="px-2 text-right">
|
||||||
Loan Amount
|
Loan/Eligible Amount
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2 text-right">
|
<th scope="col" className="px-2 text-right">
|
||||||
Product/Tenor
|
Product/Tenor
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2 text-right">
|
<th scope="col" className="px-2 text-right">
|
||||||
Repay/Install Amount
|
Repay/Install Amount.
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2 text-right">
|
<th scope="col" className="px-2 text-right">
|
||||||
Added
|
Added/Due
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2 text-right">
|
<th scope="col" className="px-2 text-right">
|
||||||
Action
|
Action
|
||||||
@@ -66,7 +66,8 @@ export default function LoanDetails({transactionID}) {
|
|||||||
<div className="text-left">
|
<div className="text-left">
|
||||||
<div className="text-base font-semibold">{item?.account_id || ''}</div>
|
<div className="text-base font-semibold">{item?.account_id || ''}</div>
|
||||||
<div className="font-normal text-gray-500">{item?.id} : {item?.transaction_id}</div>
|
<div className="font-normal text-gray-500">{item?.id} : {item?.transaction_id}</div>
|
||||||
<div className="font-normal text-gray-500">ORIGIN : {item?.original_transaction}</div>
|
<div className="font-semibold text-red-500">ORIGIN : {item?.original_transaction}</div>
|
||||||
|
<div className="font-bold text-blue-500">OFFER : {item?.offer_id}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@@ -74,12 +75,14 @@ export default function LoanDetails({transactionID}) {
|
|||||||
<div className="text-right">
|
<div className="text-right">
|
||||||
{/* <div className="text-base font-semibold">{formatNumber(item?.initial_loan_amount)}</div> */}
|
{/* <div className="text-base font-semibold">{formatNumber(item?.initial_loan_amount)}</div> */}
|
||||||
<div className="font-normal text-gray-500">{formatNumber(item?.initial_loan_amount)}</div>
|
<div className="font-normal text-gray-500">{formatNumber(item?.initial_loan_amount)}</div>
|
||||||
|
<div className="font-semibold text-red-500">{formatNumber(item?.eligible_amount)}</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className="px-2">
|
<td className="px-2">
|
||||||
<div className="text-right">
|
<div className="text-right">
|
||||||
<div className="font-normal text-gray-500">{formatNumber(item?.product_id)}</div>
|
<div className="font-normal text-gray-500">{formatNumber(item?.product_id)}</div>
|
||||||
<div className="font-normal text-gray-500">{formatNumber(0)}</div>
|
<div className="font-normal text-gray-500">{item?.tenor} days</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className="px-2">
|
<td className="px-2">
|
||||||
@@ -91,6 +94,7 @@ export default function LoanDetails({transactionID}) {
|
|||||||
<td className="px-2">
|
<td className="px-2">
|
||||||
<div className="text-right">
|
<div className="text-right">
|
||||||
<div className="font-normal text-gray-500">{getDateFromDateString(item?.created_at)}</div>
|
<div className="font-normal text-gray-500">{getDateFromDateString(item?.created_at)}</div>
|
||||||
|
<div className="font-semibold text-red-500">{getDateFromDateString(item?.due_date)}</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className="px-2 text-right">
|
<td className="px-2 text-right">
|
||||||
|
|||||||
Reference in New Issue
Block a user