"use client" import { useIntl } from "react-intl" import { dt } from "@/lib/dt" 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 useLang from "@/hooks/useLang" import { formatPrice } from "@/utils/numberFormatting" import styles from "./paymentDetails.module.css" import type { BookingConfirmationPaymentDetailsProps } from "@/types/components/hotelReservation/bookingConfirmation/paymentDetails" export default function PaymentDetails({ booking, }: BookingConfirmationPaymentDetailsProps) { const intl = useIntl() const lang = useLang() return (