feat: update currency and type display to uppercase for consistency

This commit is contained in:
2026-01-11 19:07:56 -06:00
parent 6e4e14285d
commit 69fd1a7e10

View File

@@ -175,7 +175,7 @@ export function createColumns(onSuccess?: () => void): ColumnDef<Invoice>[] {
const { currency } = getCurrency();
return {
render: () =>
`<div class="text-sm font-medium">${currency || '-'}</div>`
`<div class="text-sm font-medium">${currency?.toLocaleUpperCase() || '-'}</div>`
};
});
return renderSnippet(currencySnippet, { currency });
@@ -208,7 +208,7 @@ export function createColumns(onSuccess?: () => void): ColumnDef<Invoice>[] {
const { type } = getType();
return {
render: () =>
`<div class="text-sm">${type || '-'}</div>`
`<div class="text-sm">${type?.toUpperCase() || '-'}</div>`
};
});
return renderSnippet(weightSnippet, { type: weightType });