History tabnles

This commit is contained in:
CHIEFSOFT\ameye
2023-05-29 14:47:08 -04:00
parent 6dbd080f29
commit da24c8a535
2 changed files with 6 additions and 6 deletions
@@ -19,8 +19,7 @@ function PurchasesTable({purchase}) {
<table className="wallet-activity w-full table-auto border-collapse text-left"> <table className="wallet-activity w-full table-auto border-collapse text-left">
<thead className='border-b-2'> <thead className='border-b-2'>
<tr className='text-slate-600'> <tr className='text-slate-600'>
<th className="p-2">Date</th> <th className="p-4">Trx.</th>
<th className="p-2">Description</th>
<th className="p-2">Amount</th> <th className="p-2">Amount</th>
<th className="p-2">Fee</th> <th className="p-2">Fee</th>
</tr> </tr>
@@ -30,8 +29,9 @@ function PurchasesTable({purchase}) {
<tbody> <tbody>
{currentPurchase.map((item, index) => ( {currentPurchase.map((item, index) => (
<tr key={index} className='text-slate-500'> <tr key={index} className='text-slate-500'>
<td className="p-2">{item.added_date}</td> <td className="p-2">{item.added_date}<br />
<td className="p-2">{item.confirmation}</td> <b>{item.confirmation} </b>
</td>
<td className="p-2">{item.amount}</td> <td className="p-2">{item.amount}</td>
<td className="p-2">{item.fee}</td> <td className="p-2">{item.fee}</td>
</tr> </tr>
@@ -20,9 +20,9 @@ function RecentActivityTable({payment}) {
<thead className='border-b-2'> <thead className='border-b-2'>
<tr className='text-slate-600'> <tr className='text-slate-600'>
<th className="p-2">Date</th> <th className="p-2">Date</th>
<th className="p-2">Recipient</th> <th className="p-2">Trx.</th>
<th className="p-2">Amount/Fee</th> <th className="p-2">Amount/Fee</th>
<th className="p-2">Conf/Status</th> <th className="p-2">Status</th>
</tr> </tr>
</thead> </thead>
{payment.data.length ? {payment.data.length ?