Skip to content

Commit

Permalink
Revert "bug: fix invoice tax aount (#1704)"
Browse files Browse the repository at this point in the history
This reverts commit caf3b11.
  • Loading branch information
ansmonjol authored Aug 30, 2024
1 parent caf3b11 commit 29d0d76
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/pages/CreateInvoice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1002,9 +1002,12 @@ const CreateInvoice = () => {
? null
: !hasAnyFee
? '-'
: intlFormatNumber(taxToDisplay.amount, {
currency,
})}
: intlFormatNumber(
deserializeAmount(taxToDisplay.amount || 0, currency),
{
currency,
},
)}
</Typography>
</InvoiceFooterLine>
)
Expand Down

0 comments on commit 29d0d76

Please sign in to comment.