import { Button } from '@/components/ui/button'; import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, } from '@/components/ui/dialog'; import { billing } from '@/routes/settings'; import { __ } from '@/utils/i18n'; import { router } from '@inertiajs/react'; import { Zap } from 'lucide-react'; interface UpgradeConnectionDialogProps { open: boolean; onOpenChange: (open: boolean) => void; } export function UpgradeConnectionDialog({ open, onOpenChange, }: UpgradeConnectionDialogProps) { function handleUpgrade() { router.visit(billing.url()); } return (
{__('Standard Plan required')} {__( 'Bank connections automatically sync your transactions directly from your bank. This feature requires the Standard Plan.', )}
); }