Compare commits

...

1 Commits

Author SHA1 Message Date
victorAnumudu abde91f46b loan table tenor field added 2025-05-03 14:19:51 +01:00
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ export default function LoansCom() {
<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">{formatNumber(item?.tenor)}</div>
</div> </div>
</td> </td>
<td className="px-2"> <td className="px-2">
@@ -48,9 +48,9 @@ export default function LoanChargeDetails({transactionID}) {
<th scope="col" className="px-2 text-right"> <th scope="col" className="px-2 text-right">
Added Added
</th> </th>
<th scope="col" className="px-2 text-right"> {/* <th scope="col" className="px-2 text-right">
Action Action
</th> </th> */}
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -77,18 +77,18 @@ export default function LoanChargeDetails({transactionID}) {
<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> </div>
</td> </td>
<td className="px-2 text-right"> {/* <td className="px-2 text-right">
<div className='flex items-center justify-end gap-3 md:gap-4'> <div className='flex items-center justify-end gap-3 md:gap-4'>
<div className='p-2 flex justify-center items-center text-slate-500 bg-white-body dark:text-white-body dark:bg-black-body rounded-md'> <div className='p-2 flex justify-center items-center text-slate-500 bg-white-body dark:text-white-body dark:bg-black-body rounded-md'>
<Icons name='eye' /> <Icons name='eye' />
</div> </div>
</div> </div>
</td> </td> */}
</tr> </tr>
)) ))
: :
<tr className="py-2 border-t border-dashed border-slate-300"> <tr className="py-2 border-t border-dashed border-slate-300">
<td className="px-3 py-2" colSpan={4}> <td className="px-3 py-2" colSpan={3}>
<div className="flex justify-center items-center"> <div className="flex justify-center items-center">
No Record Found No Record Found
</div> </div>
@@ -79,7 +79,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">{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">{formatNumber(item?.tenor)}</div>
</div> </div>
</td> </td>
<td className="px-2"> <td className="px-2">
@@ -92,7 +92,7 @@ export default function RepaymentScheduleDetails({transactionID}) {
</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">{getDateFromDateString(item?.paid_at)}</div> <div className="font-normal text-gray-500">{item?.paid_at ? getDateFromDateString(item?.paid_at) : 'NULL'}</div>
</div> </div>
</td> </td>
<td className="px-2 text-right"> <td className="px-2 text-right">