Add currency

This commit is contained in:
Sebastien Castiel
2023-12-06 15:23:18 -05:00
parent 570aa713b1
commit 72fe199879
7 changed files with 49 additions and 13 deletions

View File

@@ -86,8 +86,8 @@ export default async function GroupPage({
</Badge>
))}
</TableCell>
<TableCell className="text-right tabular-nums">
$&nbsp;{expense.amount.toFixed(2)}
<TableCell className="text-right tabular-nums whitespace-nowrap">
{group.currency} {expense.amount.toFixed(2)}
</TableCell>
<TableCell>
<Button