Compare commits

...

9 Commits

Author SHA1 Message Date
victorAnumudu 0a2c4b86f3 expiration text added to referral list 2024-11-28 18:22:50 +01:00
ameye 8e9ae8187f Merge branch 'home-page-bug' of WrenchBoard/Users-Wrench into master 2024-11-28 11:39:18 +00:00
CHIEFSOFT\ameye b25a9c154b refer list ofset 2024-11-28 06:01:59 -05:00
CHIEFSOFT\ameye 66bfe4be82 span to div 2024-11-28 05:54:53 -05:00
victorAnumudu 02773ed1da made expire session for kids 30mins 2024-11-28 11:53:19 +01:00
CHIEFSOFT\ameye e6c02468de format 2024-11-28 05:25:43 -05:00
victorAnumudu 58a75a1c89 family jome page bug fix 2024-11-28 11:19:02 +01:00
CHIEFSOFT\ameye 8a5b784381 Refrormat refern list 2024-11-28 05:14:51 -05:00
ameye 883a98951a Merge branch 'home-banner-reload' of WrenchBoard/Users-Wrench into master 2024-11-27 10:23:00 +00:00
8 changed files with 28 additions and 20 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ REACT_APP_PRIMARY_SOCKET="https://socket-dev.wrenchboard.com"
#"https://devapi.mermsemr.com/en/desktop/api/v2/myfituser"
REACT_APP_SESSION_EXPIRE_MINUTES=600000
REACT_APP_SESSION_EXPIRE_MINUTES_FAMILY=600000
REACT_APP_SESSION_EXPIRE_MINUTES_FAMILY=1800000
REACT_APP_SESSION_EXPIRE_CHECKER=60000
REACT_APP_LOGIN_ERROR_TIMEOUT=7000
+1 -1
View File
@@ -23,7 +23,7 @@ REACT_APP_PRIMARY_SOCKET="https://socket-dev.wrenchboard.com"
#"https://devapi.mermsemr.com/en/desktop/api/v2/myfituser"
REACT_APP_SESSION_EXPIRE_MINUTES=600000
REACT_APP_SESSION_EXPIRE_MINUTES_FAMILY=600000
REACT_APP_SESSION_EXPIRE_MINUTES_FAMILY=1800000
REACT_APP_SESSION_EXPIRE_CHECKER=60000
REACT_APP_LOGIN_ERROR_TIMEOUT=7000
+1 -1
View File
@@ -23,7 +23,7 @@ REACT_APP_PRIMARY_SOCKET="https://socket.wrenchboard.com"
#"https://devapi.mermsemr.com/en/desktop/api/v2/myfituser"
REACT_APP_SESSION_EXPIRE_MINUTES=600000
REACT_APP_SESSION_EXPIRE_MINUTES_FAMILY=600000
REACT_APP_SESSION_EXPIRE_MINUTES_FAMILY=1800000
REACT_APP_SESSION_EXPIRE_CHECKER=60000
REACT_APP_LOGIN_ERROR_TIMEOUT=7000
+1 -1
View File
@@ -75,7 +75,7 @@ export default function Routers() {
<ScrollToTop>
<Routes>
{/* guest routes */}
{process.env.REACT_APP_NEW_LOGIN_LAYOUT == 1 ? (
{Number(process.env.REACT_APP_NEW_LOGIN_LAYOUT) === 1 ? (
<>
<Route exact path="/login" element={<LoginLandingPage />} />
<Route exact path="/login/:type" element={<LoginPageTwo />} />
+12 -10
View File
@@ -24,9 +24,6 @@ export default function Home(props) {
return (
<Layout>
<div className="w-full">
{commonHeadBanner.loading ?
<LoadingSpinner height='h-48' size='16' />
:
<>
{userDetails && userDetails?.account_type == "FAMILY" ? (
<FamilyDash
@@ -35,19 +32,24 @@ export default function Home(props) {
serverImg = {userDetails?.session_image_server}
/>
) : userDetails && userDetails?.account_type == "FULL" ? (
<FullAccountDash
bannerList={commonHeadBanner?.data?.result_list}
dashTypes={commonHeadBanner?.data?.home_dash_type}
offersList={commonHeadBanner?.data?.offers_list}
imageServer={commonHeadBanner?.data?.session_image_server}
/>
<>
{commonHeadBanner.loading ?
<LoadingSpinner height='h-48' size='16' />
:
<FullAccountDash
bannerList={commonHeadBanner?.data?.result_list}
dashTypes={commonHeadBanner?.data?.home_dash_type}
offersList={commonHeadBanner?.data?.offers_list}
imageServer={commonHeadBanner?.data?.session_image_server}
/>
}
</>
) : (
<div>
You are not logged in or your account type is not supported.
</div>
)}
</>
}
</div>
</Layout>
);
@@ -31,7 +31,10 @@ function ReferralTable({ history }) {
currentReferral.map((item, index) => (
<tr key={index} className="text-slate-500">
<td className="p-3">
{item.added_date} / {item.firstname} {item.lastname}
<div style={{flexDirection: "column"}} >
<div style={{color: "blue"}}>{item.added_date} </div>
<div>{item.firstname} {item.lastname}</div>
</div>
</td>
<td className="p-3">{item.email}</td>
<td className="p-3">{item.status}</td>
+6 -3
View File
@@ -251,9 +251,12 @@ function ReferralDisplay() {
{selectedTab == 'Referral List' &&
<>
<div className="w-full p-4">
<h2 className="mb-2 text-slate-900 dark:text-white text-xl lg:text-2xl font-medium">
Referral List
</h2>
<div className='mb-2 flex flex-wrap gap-4 items-center'>
<h2 className="text-slate-900 dark:text-white text-xl lg:text-2xl font-medium">
Referral List
</h2>
<p className='text-slate-900 dark:text-white text-sm lg:text-base'>Uncompleted signup will be removed automatically after 7 days</p>
</div>
{referralList.loading ? (
<LoadingSpinner size="22" color="sky-blue" />
) : (
+2 -2
View File
@@ -618,8 +618,8 @@ class usersService {
uid: localStorage.getItem("uid"),
member_id: localStorage.getItem("member_id"),
sessionid: localStorage.getItem("session_token"),
offset: 1,
limit: 100,
offset: 0,
limit: 140,
action: apiConst.WRENCHBOARD_ACCOUNT_REFFERHX,
};
return this.postAuxEnd("/refferhx", postData);