Coupon pening
This commit is contained in:
@@ -6,14 +6,14 @@ function CurrentJobAction() {
|
||||
<p className="my-3 py-1 text-base active-owner">
|
||||
<table className="w-full text-sm text-left text-gray-500 dark:text-gray-400">
|
||||
<tbody>
|
||||
<tr className=" border-b dark:border-[#5356fb29] hover:bg-gray-50">
|
||||
<td className=" py-1">
|
||||
<tr>
|
||||
<td>
|
||||
<div className="flex space-x-2 items-center w-full">
|
||||
<div className="flex flex-col flex-[0.9]">
|
||||
|
||||
<h1 className="text-xl text-dark-gray dark:text-white">
|
||||
Waiting for the completion message from the client before you can approve.
|
||||
</h1>
|
||||
</div>
|
||||
{/*<div className="flex flex-col flex-[0.9]"> </div>*/}
|
||||
</div>
|
||||
</td>
|
||||
|
||||
|
||||
@@ -37,9 +37,8 @@ function CurrentTaskAction({jobDetails}) {
|
||||
|
||||
<table className="w-full text-sm text-left text-gray-500 dark:text-gray-400 active-worker">
|
||||
<tbody>
|
||||
<tr className=" border-b">
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<div className="flex space-x-2 items-center w-full">
|
||||
<h1 className="text-xl text-dark-gray dark:text-white">
|
||||
I completed this task and ready for review and acceptance.
|
||||
|
||||
@@ -6,14 +6,14 @@ function PastDueJobAction() {
|
||||
|
||||
<table className="w-full text-sm text-left text-gray-500 dark:text-gray-400 owner-pastdue">
|
||||
<tbody>
|
||||
<tr className="border-b dark:border-[#5356fb29] hover:bg-gray-50">
|
||||
<tr>
|
||||
<td>
|
||||
<div className="flex space-x-2 items-center w-full">
|
||||
<div className="flex flex-col flex-[0.9]">
|
||||
|
||||
<h1 className="text-xl text-dark-gray dark:text-white">
|
||||
Time allocated has passed
|
||||
</h1>
|
||||
</div>
|
||||
{/*<div className="flex flex-col flex-[0.9]"> </div>*/}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -6,14 +6,14 @@ function PastDueTaskAction() {
|
||||
|
||||
<table className="w-full text-sm text-left text-gray-500 dark:text-gray-400 worker-pastdue">
|
||||
<tbody>
|
||||
<tr className=" border-b dark:border-[#5356fb29] hover:bg-gray-50">
|
||||
<tr>
|
||||
<td>
|
||||
<div className="flex space-x-2 items-center w-full">
|
||||
<div className="flex flex-col flex-[0.9]">
|
||||
|
||||
<h1 className="text-xl text-dark-gray dark:text-white">
|
||||
You have missed the allocated time
|
||||
</h1>
|
||||
</div>
|
||||
{/*<div className="flex flex-col flex-[0.9]"> </div>*/}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -6,14 +6,14 @@ function ReviewJobAction() {
|
||||
<p className="my-3 py-1 text-base">
|
||||
<table className="w-full text-sm text-left text-gray-500 dark:text-gray-400 review-owner">
|
||||
<tbody>
|
||||
<tr className="border-b dark:border-[#5356fb29]">
|
||||
<td className=" py-1">
|
||||
<tr>
|
||||
<td>
|
||||
<div className="flex space-x-2 items-center w-full">
|
||||
<div className="flex flex-col flex-[0.9]">
|
||||
|
||||
<h1 className="text-xl text-dark-gray dark:text-white">
|
||||
This Job is Ready for your review
|
||||
</h1>
|
||||
</div>
|
||||
{/*<div className="flex flex-col flex-[0.9]"> </div>*/}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -14,7 +14,7 @@ export default function MyCoupons() {
|
||||
|
||||
//FUNCTION TO GET COUPON HISTORY
|
||||
const getCouponHistory = ()=>{
|
||||
apiCall.getCouponHx().then((res)=>{
|
||||
apiCall.getCouponPending().then((res)=>{
|
||||
if(res.data.internal_return < 0){ // success but no data
|
||||
setCouponHistory(prev => ({...prev, loading: false}))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user