Refactor: Global Theme System and Finance Modules Redesign

This commit is contained in:
CycroftX
2026-02-16 00:09:52 +05:30
parent 58fe801eab
commit 557accf0c2
51 changed files with 3076 additions and 1147 deletions

View File

@@ -5,10 +5,9 @@ export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
export const formatCurrency = (amount: number) => {
export const formatAmount = (amount: number) => {
return new Intl.NumberFormat('en-AE', {
style: 'currency',
currency: 'AED',
style: 'decimal',
minimumFractionDigits: 0,
maximumFractionDigits: 0,
}).format(amount);