Compare commits

...

1 Commits

Author SHA1 Message Date
victorAnumudu 544d0f3476 Correct name shows under menu and current ammount under delete jop popup page 2023-05-19 16:53:25 +01:00
6 changed files with 11 additions and 11 deletions
@@ -67,7 +67,7 @@ export default function MyActiveJobTable({ MyJobList, className }) {
<span className="text-sm text-thin-light-gray"> <span className="text-sm text-thin-light-gray">
Price:{" "} Price:{" "}
<span className="text-purple"> <span className="text-purple">
{value.price * 0.01} {(value.price * 0.01).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")+'.00'}
</span> </span>
</span> </span>
<span className="text-sm text-thin-light-gray"> <span className="text-sm text-thin-light-gray">
+1 -1
View File
@@ -131,7 +131,7 @@ export default function MyJobTable({ MyJobList, reloadJobList, className }) {
<span className="text-sm text-thin-light-gray"> <span className="text-sm text-thin-light-gray">
Price:{" "} Price:{" "}
<span className="text-purple"> <span className="text-purple">
{value.price * 0.01} {(value.price * 0.01).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")+'.00'}
</span> </span>
</span> </span>
<span className="text-sm text-thin-light-gray"> <span className="text-sm text-thin-light-gray">
@@ -62,7 +62,7 @@ export default function MyPendingJobTable({MyJobList, className }) {
{value.description} {value.description}
</div> </div>
<span className="text-sm text-thin-light-gray"> <span className="text-sm text-thin-light-gray">
Price: <span className="text-purple">{value.price*0.01}</span> Price: <span className="text-purple">{(value.price*0.01).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")+'.00'}</span>
</span> </span>
<span className="text-sm text-thin-light-gray"> <span className="text-sm text-thin-light-gray">
Duration: <span className="text-purple"> {value.timeline_days} day(s)</span> Duration: <span className="text-purple"> {value.timeline_days} day(s)</span>
+2 -2
View File
@@ -505,9 +505,9 @@ export default function Header({ logoutModalHandler, sidebarHandler }) {
</div> </div>
<div className="heading border-b dark:border-[#5356fb29] border-light-purple px-7 py-2"> <div className="heading border-b dark:border-[#5356fb29] border-light-purple px-7 py-2">
<h3 className="text-xl font-bold text-dark-gray dark:text-white"> <h3 className="text-xl font-bold text-dark-gray dark:text-white">
Surname Fullname
</h3> </h3>
<p className="text-sm text-gray-400 dark:text-white hover:text-sky-blue cursor-pointer">broklinslam_75@gamil.com</p> <p className="text-base text-gray-400 dark:text-white hover:text-sky-blue cursor-pointer">{`${firstname} ${lastname}`}</p>
</div> </div>
<div className="content"> <div className="content">
<ul className="px-7"> <ul className="px-7">
+1 -1
View File
@@ -100,7 +100,7 @@ function DeleteJobPopout({details, onClose, situation}) {
{details.title} {details.title}
</p> </p>
<p className="text-lg tracking-wide text-dark-gray dark:text-white"> <p className="text-lg tracking-wide text-dark-gray dark:text-white">
Price: {details.price} Price: {(details.price * 0.01).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")+'.00'}
</p> </p>
<p className="text-lg tracking-wide text-dark-gray dark:text-white"> <p className="text-lg tracking-wide text-dark-gray dark:text-white">
Duration: {details.timeline_days} day(s) Duration: {details.timeline_days} day(s)
@@ -7,10 +7,10 @@ function PendingJobsPopout({details, onClose, situation}) {
return ( return (
<ModalCom action={onClose} situation={situation}> <ModalCom action={onClose} situation={situation}>
<div className="logout-modal-wrapper lw-[90%] md:w-[768px] h-full lg:h-auto bg-white dark:bg-dark-white lg:rounded-2xl overflow-y-auto"> <div className="logout-modal-wrapper lw-[90%] md:w-[768px] h-full lg:h-auto bg-white dark:bg-dark-white lg:rounded-2xl overflow-y-auto">
<div className="logout-modal-header w-full flex items-center justify-end lg:p-6 px-[30px] py-[23px] border-b dark:border-[#5356fb29] border-light-purple"> <div className="logout-modal-header w-full flex items-center justify-between lg:p-6 px-[30px] py-[23px] border-b dark:border-[#5356fb29] border-light-purple">
{/* <h1 className="text-26 font-bold text-dark-gray dark:text-white tracking-wide"> <h1 className="text-26 font-bold text-dark-gray dark:text-white tracking-wide">
Confirm Manage Pending Item
</h1> */} </h1>
<button <button
type="button" type="button"
className="text-[#374557] dark:text-red-500" className="text-[#374557] dark:text-red-500"
@@ -73,7 +73,7 @@ function PendingJobsPopout({details, onClose, situation}) {
<div className='my-2 md:flex'> <div className='my-2 md:flex'>
<Detail <Detail
label='Price' label='Price'
value={`${details.price*0.01} ${details.currency}`} value={`${(details.price*0.01).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")+'.00'} ${details.currency}`}
/> />
</div> </div>