Repository navigation
Recalculate mileage rate when editing distance expense date #93755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
neil-marcellini
merged 20 commits into
Expensify:main
from
Krishna2323:krishna/89836-date-aware-mileage-rate-recalc-on-edit
Jun 24, 2026
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
7751a9f
Recalculate mileage rate when editing distance expense date
Krishna2323 7a2befa
fix failing tests.
Krishna2323 dcc54a6
Address Codex review feedback for date-triggered mileage rate edits
Krishna2323 67d8260
Address Codex review feedback for date-triggered mileage rate edits
Krishna2323 e7ef8f5
Guard date-triggered mileage rate recalc for edge cases
Krishna2323 1bb06e9
Recalculate mileage rate on date edit for track distance expenses
Krishna2323 4af27af
Fix getDistanceRateTaxUpdates typing and default tax fallback
Krishna2323 f4ee9ec
Fix date edits reverting when mileage rate also changes
Krishna2323 ad76bc1
Preserve optimistic date when mileage rate recalc follows a date edit
Krishna2323 c835a69
Harden date-driven mileage rate recalc edge cases on expense edit.
Krishna2323 f3c7573
Merge branch 'main' into krishna/89836-date-aware-mileage-rate-recalc…
Krishna2323 7776d1d
Skip mileage rate recalc on date edit when no rate matches the new date.
Krishna2323 78c1401
Use a single distance rate API call when date edit also switches mile…
Krishna2323 53449ba
Restrict date-driven mileage rate recalc to workspace expense reports.
Krishna2323 437d3c0
fix test and eslint.
Krishna2323 27dd5a9
Address review feedback for date-driven mileage rate recalc on edit.
Krishna2323 217d772
fix ESLint.
Krishna2323 5a65853
Re-enable date-driven mileage rate recalc for self-DM track expenses.
Krishna2323 602ab1a
Merge branch 'Expensify:main' into krishna/89836-date-aware-mileage-r…
Krishna2323 4cef318
Address review feedback for date-driven mileage rate recalc on edit
Krishna2323 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.