add discount

This commit is contained in:
2025-12-25 12:03:13 -03:00
parent 82ab691fbb
commit d0625546c8
4 changed files with 179 additions and 192 deletions

View File

@@ -0,0 +1,6 @@
export function currency(value: number) {
return new Intl.NumberFormat('pt-BR', {
style: 'currency',
currency: 'BRL'
}).format(value)
}