The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat: purchasing as business tooltip (#46659)
Ignacio Dobronich83681d036a15
diff --git a/apps/studio/components/interfaces/Billing/Payment/PaymentMethods/NewPaymentMethodElement.tsx b/apps/studio/components/interfaces/Billing/Payment/PaymentMethods/NewPaymentMethodElement.tsxindex 6c6abcc3d92..183684a6d5a 100644--- a/apps/studio/components/interfaces/Billing/Payment/PaymentMethods/NewPaymentMethodElement.tsx+++ b/apps/studio/components/interfaces/Billing/Payment/PaymentMethods/NewPaymentMethodElement.tsx@@ -12,7 +12,7 @@ import {type SetupIntent,} from '@stripe/stripe-js'import { Form } from '@ui/components/shadcn/ui/form'-import { Check, ChevronsUpDown } from 'lucide-react'+import { Check, ChevronsUpDown, HelpCircle } from 'lucide-react'import { forwardRef, useEffect, useId, useImperativeHandle, useMemo, useRef, useState } from 'react'import { useForm } from 'react-hook-form'import { toast } from 'sonner'@@ -34,6 +34,9 @@ import {Popover,PopoverContent,PopoverTrigger,+ Tooltip,+ TooltipContent,+ TooltipTrigger,} from 'ui'import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout'import { z } from 'zod'@@ -345,6 +348,19 @@ export const NewPaymentMethodElement = forwardRef(<label htmlFor="business" className="text-foreground text-sm leading-none">I’m purchasing as a business</label>+ <Tooltip>+ <TooltipTrigger asChild>+ <HelpCircle+ size={14}+ className="text-foreground-lighter hover:text-foreground transition"+ />+ </TooltipTrigger>+ <TooltipContent side="top" className="w-72">+ Select this only if your business is tax-registered. You’ll be asked for a tax ID+ (e.g. US EIN, VAT, GST), which is required to issue a compliant business invoice. If+ you’re not tax-registered, leave this unchecked. You’ll still receive a receipt.+ </TooltipContent>+ </Tooltip></div>)}