Fix tracking rate#7639
Conversation
|
@marktoman Just a reminder that I can't review this till you've added PR details and tested on all platforms. |
|
@deetergp Updated |
|
Thanks @marktoman. Now I realize what's going on. You are saving the rate as Functionally ends up making expenses that pay out $0.0059 per km Which would very likely end up upsetting anyone that tries to get reimbursed for their mileage. Does that make |
deetergp
left a comment
There was a problem hiding this comment.
We need to be storing these as as cents rather than dollars and cents.
deetergp
left a comment
There was a problem hiding this comment.
With the latest changes, I am not able to type anything with a leading decimal into the form. We specifically need to be able to add 0.585 since that is the 2022 default rate for the IRS.
|
@deetergp Do you experience different behavior than what the video shows? Otherwise, can you elaborate? Rate.mp4 |
|
@marktoman What I am experiencing is the UI simply won't let me type |
|
@deetergp Strange, after running git clone https://github.com/marktoman/fix-tracking-rate fix-tracking-rate
cd fix-tracking-rate
npm install && npm run web, I tested both desktop and mobile and it behaves like my video. Can you see errors on the console? |
@deetergp Is this unique to the latest commit? I have tested the first commit from scratch — no difference on my end. |
|
@marktoman I'm not sure what went wrong — probably PEBCAK — but I dumped my copy of your branch, checked it out again, re-ran |
deetergp
left a comment
There was a problem hiding this comment.
Looks good and tests well
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |




Details
Fix Rate formatting
Fixed Issues
$ #6213
Tests and QA Steps
Action 1
Steps
Result
The number is formatted to 2 decimal places
Action 2
Steps
Result
The number is preserved
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android