import { useTranslation } from 'react-i18next' import { PaidSubscription } from '../../../../../../types/subscription/dashboard/subscription' type PriceExceptionsProps = { subscription: PaidSubscription } export function PriceExceptions({ subscription }: PriceExceptionsProps) { const { t } = useTranslation() const { activeCoupons, taxRate } = subscription.payment return ( <> {!(taxRate > 0) && (
* {t('taxes_may_be_added')}
)} {activeCoupons.length > 0 && ( <> * {t('coupons_not_included')}: