Sign up reports
This commit is contained in:
@@ -86,6 +86,7 @@ export default function RecentPaymentsBar({
|
||||
<Link
|
||||
to={item.url}
|
||||
key={index}
|
||||
target="_blank"
|
||||
className="flex gap-3 items-center"
|
||||
>
|
||||
<div className="px-4 py-2 bg-[#0E172E] rounded-md">
|
||||
|
||||
@@ -5,7 +5,7 @@ import queryKeys from "../../services/queryKeys";
|
||||
import BreadcrumbCom from "../breadcrumb/BreadcrumbCom";
|
||||
import TablePaginatedWrapper from "../tableWrapper/TablePaginatedWrapper";
|
||||
import Icons from "../Icons";
|
||||
import { getRecentSignup } from "../../services/siteServices";
|
||||
import { getRecentAccount } from "../../services/siteServices";
|
||||
import getDateTimeFromDateString from "../../helpers/getDateTimeFromDateString";
|
||||
import {Link} from 'react-router-dom';
|
||||
|
||||
@@ -40,7 +40,7 @@ export default function RecentAccounts() {
|
||||
page,
|
||||
...filterData,
|
||||
};
|
||||
return getRecentSignup(reqData);
|
||||
return getRecentAccount(reqData);
|
||||
},
|
||||
staleTime: 0, //0 mins
|
||||
});
|
||||
|
||||
@@ -51,7 +51,7 @@ export default function RecentSignup() {
|
||||
return (
|
||||
<div className="w-full flex flex-col gap-8">
|
||||
<BreadcrumbCom
|
||||
title="Recent Signup"
|
||||
title="Signup Started Report"
|
||||
paths={["Dashboard", "Recent Acc"]}
|
||||
/>
|
||||
|
||||
@@ -106,20 +106,20 @@ export default function RecentSignup() {
|
||||
<thead className="py-2 text-sm text-slate-500 text-left">
|
||||
<tr>
|
||||
<th scope="col" className="px-2 py-2">
|
||||
Added
|
||||
Signup Stareted Added
|
||||
</th>
|
||||
<th scope="col" className="px-2">
|
||||
User Name /Email
|
||||
Email
|
||||
</th>
|
||||
<th scope="col" className="px-2 text-right">
|
||||
Name
|
||||
</th>
|
||||
<th scope="col" className="px-2 text-right">
|
||||
Country
|
||||
Status
|
||||
</th>
|
||||
<th scope="col" className="px-2 text-right">
|
||||
{/* <th scope="col" className="px-2 text-right">
|
||||
Action
|
||||
</th>
|
||||
</th> */}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -140,9 +140,9 @@ export default function RecentSignup() {
|
||||
</td>
|
||||
<td className="px-2">
|
||||
<div className="text-left">
|
||||
<div className="text-base font-semibold">
|
||||
{/* <div className="text-base font-semibold">
|
||||
{item?.username}
|
||||
</div>
|
||||
</div> */}
|
||||
<div className="text-base font-semibold">
|
||||
{item?.email}
|
||||
</div>
|
||||
@@ -159,12 +159,12 @@ export default function RecentSignup() {
|
||||
<td className="px-2">
|
||||
<div className="text-right">
|
||||
<div className="text-base font-semibold">
|
||||
{item?.country}
|
||||
{item?.status}
|
||||
</div>
|
||||
</div>
|
||||
</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="p-2 flex justify-center items-center text-slate-500 bg-white-body dark:text-white-body dark:bg-black-body rounded-md">
|
||||
<Link
|
||||
@@ -178,7 +178,7 @@ export default function RecentSignup() {
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</td> */}
|
||||
</tr>
|
||||
))
|
||||
) : (
|
||||
|
||||
@@ -112,6 +112,11 @@ export const getRecentSignup = (reqData) => {
|
||||
return getAuxEnd(`/recent-signup`, postData)
|
||||
}
|
||||
|
||||
export const getRecentAccount = (reqData) => {
|
||||
const postData = { ...reqData }
|
||||
return getAuxEnd(`/recent-account`, postData)
|
||||
}
|
||||
|
||||
// FUNCTION TO GET PRODUCTS DATA
|
||||
export const getProducts = (reqData) => {
|
||||
const postData = { ...reqData }
|
||||
|
||||
Reference in New Issue
Block a user