emails for rental cancelation, rental declined, rental request confirmation, payout received

This commit is contained in:
jackiettran
2025-10-27 13:07:02 -04:00
parent 407c69aa22
commit 502d84a741
17 changed files with 2690 additions and 45 deletions

View File

@@ -940,11 +940,11 @@ const Profile: React.FC = () => {
</p>
)}
{rental.status === "cancelled" &&
rental.rejectionReason && (
{rental.status === "declined" &&
rental.declineReason && (
<div className="alert alert-warning mt-2 mb-1 p-2 small">
<strong>Rejection reason:</strong>{" "}
{rental.rejectionReason}
<strong>Decline reason:</strong>{" "}
{rental.declineReason}
</div>
)}