-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new data formatters to base presenter (#350)
https://eaflood.atlassian.net/browse/WATER-4070 https://eaflood.atlassian.net/browse/WATER-4073 Whilst working on [Create endpoint to generate fake data](#347) we added a number of formatters. These take DB data and re-format it to match how the UI displays the values. We will need these formatters in future changes we'll be making, the first of which is a re-designed bill run page. So, to help prepare for that we are adding those formatters to our `BasePresenter` so they are available to any future presenters we add.
- Loading branch information
1 parent
79ac131
commit 94b7a2f
Showing
3 changed files
with
168 additions
and
11 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