mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-18 05:02:14 +01:00
add dashboard frontend
This commit is contained in:
6
resources/js/utils/money.ts
Normal file
6
resources/js/utils/money.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export function formatMoney(amount: number, currency: string) {
|
||||
return new Intl.NumberFormat('en-US', {
|
||||
style: 'currency',
|
||||
currency: currency,
|
||||
}).format(amount);
|
||||
}
|
||||
Reference in New Issue
Block a user