history format changed

This commit was merged in pull request #764.
This commit is contained in:
victorAnumudu
2024-07-24 15:51:54 +01:00
parent 1f97780398
commit ad1c27a9ef
6 changed files with 71 additions and 255 deletions
@@ -48,7 +48,7 @@ function PurchasesTable({purchase}) {
}
{/* PAGINATION BUTTON */}
<PaginatedList borderTop={false} onClick={handlePagination} prev={currentPage == 0 ? true : false} next={currentPage+Number(process.env.REACT_APP_ITEM_PER_PAGE) >= purchase?.data?.length ? true : false} data={purchase?.data} start={indexOfFirstItem} stop={indexOfLastItem} />
<PaginatedList onClick={handlePagination} prev={currentPage == 0 ? true : false} next={currentPage+Number(process.env.REACT_APP_ITEM_PER_PAGE) >= purchase?.data?.length ? true : false} data={purchase?.data} start={indexOfFirstItem} stop={indexOfLastItem} />
{/* END OF PAGINATION BUTTON */}
</div>
)
@@ -70,7 +70,6 @@ function RecentActivityTable({ payment }) {
data={payment?.data}
start={indexOfFirstItem}
stop={indexOfLastItem}
borderTop={false}
/>
{/* END OF PAGINATION BUTTON */}
</div>