|
+
+
+
+
+
+
+ + Mullican Computer Joy ++ + Owned by Xoeyam + + |
+
+
+
+
+
+
+ 7473 ETH
+
+
+ |
+
+
+
+
+
+
+ 6392.99$
+
+
+ |
+ + + -24.75 (11.5%) + + | ++ + 343 + + | ++ + 2 Hours 1 min 30s + + | ++ + | +
|
+
+
+
+
+
+
+ + Mullican Computer Joy ++ + Owned by Xoeyam + + |
+
+
+
+
+
+
+ 7473 ETH
+
+
+ |
+
+
+
+
+
+
+ 6392.99$
+
+
+ |
+ + + -24.75 (11.5%) + + | ++ + 343 + + | ++ + 2 Hours 1 min 30s + + | ++ + | +
|
+
+
+
+
+
+
+ + Mullican Computer Joy ++ + Owned by Xoeyam + + |
+
+
+
+
+
+
+ 7473 ETH
+
+
+ |
+
+
+
+
+
+
+ 6392.99$
+
+
+ |
+ + + -24.75 (11.5%) + + | ++ + 343 + + | ++ + 2 Hours 1 min 30s + + | ++ + | +
| @@ -1057,10 +1462,15 @@ export default function HistoryTable({ className }) { |
|
@@ -72,8 +85,6 @@ export default function MyActiveJobTable({MyJobList, className }) {
|
| All Jobs | +All Product | . |
|
-
-
-
-
-
-
- - {value.title} --
- {value.description}
-
-
- Price: {value.price*0.01}
-
-
- Duration: {value.timeline_days} day(s)
-
- |
+ currentJobList.map((value, index) => (
+ ||
|
+
+
+
+
+
+
+ + {value.title} ++
+ {value.description}
+
+
+ Price: {value.price*0.01}
+
+
+ Duration: {value.timeline_days} day(s)
+
+ |
- - - | -+ + | + ))} @@ -95,7 +106,12 @@ export default function MyJobTable({MyJobList, className }) { )}
|
+
+
+
+
+
+
+ + Mullican Computer Joy ++ + Owned by Xoeyam + + |
+
+
+
+
+
+
+ 7473 ETH
+
+
+ |
+
+
+
+
+
+
+ 6392.99$
+
+
+ |
+ + + -24.75 (11.5%) + + | ++ + 343 + + | ++ + 2 Hours 1 min 30s + + | ++ + | +
|
+
+
+
+
+
+
+ + Mullican Computer Joy ++ + Owned by Xoeyam + + |
+
+
+
+
+
+
+ 7473 ETH
+
+
+ |
+
+
+
+
+
+
+ 6392.99$
+
+
+ |
+ + + -24.75 (11.5%) + + | ++ + 343 + + | ++ + 2 Hours 1 min 30s + + | ++ + | +
|
+
+
+
+
+
+
+ + Mullican Computer Joy ++ + Owned by Xoeyam + + |
+
+
+
+
+
+
+ 7473 ETH
+
+
+ |
+
+
+
+
+
+
+ 6392.99$
+
+
+ |
+ + + -24.75 (11.5%) + + | ++ + 343 + + | ++ + 2 Hours 1 min 30s + + | ++ + | +
| @@ -1057,10 +1462,15 @@ export default function MyJobTable({ className }) { |
Activity Report
{payment.loading ? @@ -84,7 +84,7 @@ function Balance({wallet, payment, coupon, purchase}) {Activity Report
{payment.loading ? diff --git a/src/components/MyWallet/TransferFund.jsx b/src/components/MyWallet/TransferFund.jsx index 0e32309..551911e 100644 --- a/src/components/MyWallet/TransferFund.jsx +++ b/src/components/MyWallet/TransferFund.jsx @@ -223,7 +223,7 @@ function TransferFund({payment, wallet}) {Activity Report
{payment.loading ? diff --git a/src/components/MyWallet/WalletComponent/CouponTable.jsx b/src/components/MyWallet/WalletComponent/CouponTable.jsx index 29a695c..5993df3 100644 --- a/src/components/MyWallet/WalletComponent/CouponTable.jsx +++ b/src/components/MyWallet/WalletComponent/CouponTable.jsx @@ -1,7 +1,21 @@ -import React from 'react' +import React, {useState} from 'react' + +import PaginatedList from '../../Pagination/PaginatedList' +import { handlePagingFunc } from '../../Pagination/HandlePagination'; function CouponTable({coupon}) { + + const [currentPage, setCurrentPage] = useState(0); + const indexOfFirstItem = Number(currentPage); + const indexOfLastItem = Number(indexOfFirstItem)+Number(process.env.REACT_APP_ITEM_PER_PAGE); + const currentCoupon = coupon?.data?.slice(indexOfFirstItem, indexOfLastItem); + + const handlePagination = (e) => { + handlePagingFunc(e,setCurrentPage) + } + return ( + <>| {item.added} | {item.code} | @@ -41,6 +55,11 @@ function CouponTable({coupon}) {
| {item.added_date} | {item.confirmation} | @@ -41,6 +55,11 @@ function PurchasesTable({purchase}) {
| {item.trx_date} | @@ -41,6 +55,11 @@ function RecentActivityTable({payment}) { |