GTBitsOfGood / heart-of-passion

Retreat Planning Tool for Heart of Passion
MIT License
5 stars 0 forks source link

Fix/99 expense form modal #115

Closed nmhossain02 closed 5 months ago

nmhossain02 commented 5 months ago

Addresses #99

This PR fixes the issue where non-positive unit numbers and negative costs may be inputted into the form. Currently, this breaks the ability to handle "flat" costs since that property doesn't exist on the database. However, this should be a trivial fix which can be added going forward.

This PR does NOT address adding a status drop-down unfortunately; this is limited by the schema not currently supporting status. I'll add another PR with that feature added in.

netlify[bot] commented 5 months ago

Deploy Preview for heartofpassion failed.

Name Link
Latest commit 96e9c9f507fa88f11d6ec0ee4f49db5a682767dd
Latest deploy log https://app.netlify.com/sites/heartofpassion/deploys/660457c53b13ab000879df84