/* eslint-disable jsx-a11y/click-events-have-key-events */ import dayjs from "dayjs"; import { useLocale } from "@/hooks/useLocale"; import { PriceManager } from "@/libs/price-manager/price-manager"; /* eslint-disable jsx-a11y/no-static-element-interactions */ export interface InstallmentListProps { value: string; activeMasterpassCidssRules: number; payableDate: string; onChange: (value: string) => void; options: { key: string; selected: boolean; installmentCount: number; additionalInstallmentCount: number; installmentCountText: string; monthlyAmountNow: number; monthlyAmountLater: number; discountRate: string; totalPriceNow: number; totalPriceLater: number; totalPrice: number; providerName: string; originalKey: any; postCost: number; bankCode: string; macroMerchantId: string; }[]; } const InstallmentList = (props: InstallmentListProps) => { const { t } = useLocale(); return (