import { dt } from "@/lib/dt" import { getBookingConfirmation } from "@/lib/trpc/memoizedRequests" import { CreditCardAddIcon } from "@/components/Icons" import Button from "@/components/TempDesignSystem/Button" import Body from "@/components/TempDesignSystem/Text/Body" import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" import { getIntl } from "@/i18n" import { getLang } from "@/i18n/serverContext" import styles from "./paymentDetails.module.css" import type { BookingConfirmationProps } from "@/types/components/hotelReservation/bookingConfirmation/bookingConfirmation" export default async function PaymentDetails({ confirmationNumber, }: BookingConfirmationProps) { const intl = await getIntl() const lang = getLang() const { booking } = await getBookingConfirmation(confirmationNumber) return (