bloom-housing / bloom

component-based web framework for affordable housing management
Apache License 2.0
34 stars 24 forks source link

fix: monthly rent unit seed data #4226

Closed mcgarrye closed 1 month ago

mcgarrye commented 1 month ago

Description

Seed data bug was introduced in https://github.com/metrotranscom/doorway/pull/760. toPercision makes a string with e+ which causes a problem in the partners portal. Switching to toFixed instead to limit decimals but not introducing other string characters.

How Can This Be Tested/Reviewed?

Run yarn setup. Check units table in the db or run partners portal and check the seeded listing units.

Author Checklist:

Review Process: