schema updates to rental statuses
This commit is contained in:
@@ -211,15 +211,15 @@ const EarningsDashboard: React.FC = () => {
|
||||
className={`badge ${
|
||||
rental.payoutStatus === "completed"
|
||||
? "bg-success"
|
||||
: rental.payoutStatus === "processing"
|
||||
? "bg-warning"
|
||||
: rental.payoutStatus === "failed"
|
||||
? "bg-danger"
|
||||
: "bg-secondary"
|
||||
}`}
|
||||
>
|
||||
{rental.payoutStatus === "completed"
|
||||
? "Paid"
|
||||
: rental.payoutStatus === "processing"
|
||||
? "Processing"
|
||||
: rental.payoutStatus === "failed"
|
||||
? "Failed"
|
||||
: "Pending"}
|
||||
</span>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user