panorama facturador mejoras UI/UX
This commit is contained in:
@@ -38,9 +38,11 @@ defineProps<{
|
||||
}>()
|
||||
|
||||
const formatCurrency = (value: number) => {
|
||||
return new Intl.NumberFormat('es-GT', {
|
||||
return new Intl.NumberFormat('es-HN', {
|
||||
style: 'currency',
|
||||
currency: 'GTQ'
|
||||
}).format(value)
|
||||
currency: 'HNL',
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2
|
||||
}).format(value).replace('HNL', 'L')
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user