feat: update currency and type display to uppercase for consistency
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user