Add non-custom currencies per group

This commit is contained in:
Steven Sengchanh
2025-04-19 00:54:15 +02:00
parent a11efc79c1
commit af4bfe3780
26 changed files with 4648 additions and 62 deletions

View File

@@ -4,6 +4,7 @@ import { CategoryIcon } from '@/app/groups/[groupId]/expenses/category-icon'
import { DocumentsCount } from '@/app/groups/[groupId]/expenses/documents-count'
import { Button } from '@/components/ui/button'
import { getGroupExpenses } from '@/lib/api'
import { Currency } from '@/lib/currency'
import { cn, formatCurrency, formatDate } from '@/lib/utils'
import { ChevronRight } from 'lucide-react'
import { useLocale, useTranslations } from 'next-intl'
@@ -33,7 +34,7 @@ function Participants({ expense }: { expense: Expense }) {
type Props = {
expense: Expense
currency: string
currency: Currency
groupId: string
}