+
+
+
{startTime}
-
+
{formatTime(booking.startTime, user?.timeFormat, user?.timeZone)} -{" "}
{formatTime(booking.endTime, user?.timeFormat, user?.timeZone)}
+ {isPending && (
+
+ {t("unconfirmed")}
+
+ )}
+ {booking.eventType?.team && (
+
+ {booking.eventType.team.name}
+
+ )}
+ {booking.paid && !booking.payment[0] ? (
+
+ {t("error_collecting_card")}
+
+ ) : booking.paid ? (
+
+ {booking.payment[0].paymentOption === "HOLD" ? t("card_held") : t("paid")}
+
+ ) : null}
+ {recurringDates !== undefined && (
+
+
+
+ )}
-
- {isPending && (
-
- {t("unconfirmed")}
-
- )}
- {booking.eventType?.team && (
-
- {booking.eventType.team.name}
-
- )}
- {!!booking?.eventType?.price && !booking.paid && (
-
- {t("pending_payment")}
-
- )}
- {recurringDates !== undefined && (
-
-
+
+ |
+
+
+ {/* Time and Badges for mobile */}
+
+
+ {startTime}
+
+ {formatTime(booking.startTime, user?.timeFormat, user?.timeZone)} -{" "}
+ {formatTime(booking.endTime, user?.timeFormat, user?.timeZone)}
+
+
- )}
-
-
-
- {title}
-
-
- {paymentAppData.enabled && !booking.paid && booking.payment.length && (
-
+ {isPending && (
+
+ {t("unconfirmed")}
+
+ )}
+ {booking.eventType?.team && (
+
+ {booking.eventType.team.name}
+
+ )}
+ {!!booking?.eventType?.price && !booking.paid && (
+
{t("pending_payment")}
)}
+ {recurringDates !== undefined && (
+
+
+
+ )}
- {booking.description && (
+
+
- "{booking.description}"
+ title={title}
+ className={classNames(
+ "max-w-10/12 sm:max-w-56 text-emphasis text-sm font-medium leading-6 md:max-w-full",
+ isCancelled ? "line-through" : ""
+ )}>
+ {title}
+
+
+ {paymentAppData.enabled && !booking.paid && booking.payment.length && (
+
+ {t("pending_payment")}
+
+ )}
- )}
- {booking.attendees.length !== 0 && (
-
- )}
- {isCancelled && booking.rescheduled && (
-
-
-
- )}
-
+ {booking.description && (
+
+ "{booking.description}"
+
+ )}
+ {booking.attendees.length !== 0 && (
+
+ )}
+ {isCancelled && booking.rescheduled && (
+
+
+
+ )}
+
+
|
{isUpcoming && !isCancelled ? (
|