fix/payment-status-message-on-booking-cancelled (#7260)
Co-authored-by: Alex van Andel <me@alexvanandel.com>pull/7316/head
parent
6440d3da6a
commit
94dc2643f2
|
@ -442,7 +442,9 @@ export default function Success(props: SuccessProps) {
|
||||||
<div className="mt-3">
|
<div className="mt-3">
|
||||||
<p className="text-gray-600 dark:text-gray-300">{getTitle()}</p>
|
<p className="text-gray-600 dark:text-gray-300">{getTitle()}</p>
|
||||||
</div>
|
</div>
|
||||||
{props.paymentStatus && (
|
{props.paymentStatus &&
|
||||||
|
(bookingInfo.status === BookingStatus.CANCELLED ||
|
||||||
|
bookingInfo.status === BookingStatus.REJECTED) && (
|
||||||
<h4>
|
<h4>
|
||||||
{!props.paymentStatus.success &&
|
{!props.paymentStatus.success &&
|
||||||
!props.paymentStatus.refunded &&
|
!props.paymentStatus.refunded &&
|
||||||
|
|
Loading…
Reference in New Issue