-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [IOBP-908] Timeline amount format in cents (#6242)
## Short description This PR fixes the timeline amount format considering the amount as cents ## List of changes proposed in this pull request - Used the `formatNumberCentsToAmount` function inside the `formatAbsNumberAmountCentsOrDefault` to format the amount from cents into correct string. ## How to test - The related unit tests should pass correctly - Checkout the dev-server with this PR: pagopa/io-dev-api-server#416 - After that enable IDPay feature flag from the profile settings - With the dev-server started you should be able to see into "Portafoglio" section two mocked initiatives --------- Co-authored-by: Mario Perrotta <mario.perrotta@pagopa.it>
- Loading branch information
Showing
3 changed files
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters