From e5c511bd8fa1a27baf904d007b51e0dd3ba7b93b Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Sun, 21 Jul 2024 15:39:09 +0100 Subject: [PATCH] previous stats style adjusted --- .../MarketPlace/PopUp/MarketPopUp.jsx | 16 ++++++++-------- .../OffersInterest/ManageInterestOffer.jsx | 17 ++++++++++------- 2 files changed, 18 insertions(+), 15 deletions(-) diff --git a/src/components/MarketPlace/PopUp/MarketPopUp.jsx b/src/components/MarketPlace/PopUp/MarketPopUp.jsx index 1a019dc..7dd94a2 100644 --- a/src/components/MarketPlace/PopUp/MarketPopUp.jsx +++ b/src/components/MarketPlace/PopUp/MarketPopUp.jsx @@ -142,8 +142,8 @@ const MarketPopUp = ({ details, onClose, situation, marketInt }) => { -
-
+
+

{details?.title} @@ -175,8 +175,8 @@ const MarketPopUp = ({ details, onClose, situation, marketInt }) => {
@@ -214,7 +214,7 @@ const MarketPopUp = ({ details, onClose, situation, marketInt }) => {
))}

-
+
-
-
+
+

Interested? @@ -264,7 +264,7 @@ const MarketPopUp = ({ details, onClose, situation, marketInt }) => { onClick={ManageInterest} > {" "} -

+
Notify Owner
diff --git a/src/components/OffersInterest/ManageInterestOffer.jsx b/src/components/OffersInterest/ManageInterestOffer.jsx index f70062d..3895b35 100644 --- a/src/components/OffersInterest/ManageInterestOffer.jsx +++ b/src/components/OffersInterest/ManageInterestOffer.jsx @@ -248,32 +248,35 @@ export default function ManageInterestOffer(props) { : <> -
+
+

Previous Job Statistics

+
+
-

Completed:

+

Completed:

{interestStats.data?.job_completed && interestStats.data?.job_completed}

-

Active:

+

Active:

{interestStats.data?.job_active && interestStats.data?.job_active}

-

% Completion:

+

% Completion:

{interestStats.data?.job_percent_complete && interestStats.data?.job_percent_complete}

-

Last Completed:

+

Last Completed:

{interestStats.data?.job_last_date && interestStats.data?.job_last_date}

-

Uncompleted:

+

Uncompleted:

{interestStats.data?.job_uncompleted && interestStats.data?.job_uncompleted}

-

Pending Offers:

+

Pending Offers:

{interestStats.data?.job_pending && interestStats.data?.job_pending}

-- 2.34.1