-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Handle customUnitOutOfPolicy violation #47136
Merged
youssef-lr
merged 23 commits into
Expensify:main
from
paultsimura:feat/46753-p2p-violation
Sep 13, 2024
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
6b4cb7a
Handle customUnitOutOfPolicy violation
paultsimura 50c9050
Merge branch 'refs/heads/main' into feat/46753-p2p-violation
paultsimura 927879b
Lint
paultsimura cc472a2
Lint
paultsimura 742d1a3
Revert accidental change
paultsimura 6e8f62b
Merge branch 'refs/heads/main' into feat/46753-p2p-violation
paultsimura 8ad415a
Merge branch 'main' into feat/46753-p2p-violation
neil-marcellini ce53514
WIP fix optimistic rate update
neil-marcellini cc97528
Frontend only modifiedCustomUnitRateID is unnecessary
neil-marcellini 6445f4d
Fix optimistic amount update when rate changes
neil-marcellini 02e5e69
WIP fix optimistic rate modified expense message
neil-marcellini 517d0ba
Fix optimistic modified rate in modified expense message
neil-marcellini af551f3
WIP modified distance or rate message matching backend
neil-marcellini 32c73a9
Implement updated the distance translations
neil-marcellini f994254
The field is the merchant specific to distance expenses
neil-marcellini 967460b
Make sure translatedChangedField is lowercase
neil-marcellini 929e687
Fix matching currency symbols in distance merchant
neil-marcellini 3b944bf
Fix style and clean up
neil-marcellini 1f4c348
Clarify that changedField must be translated
neil-marcellini dd14a19
Move distance merchant regex to CONST
neil-marcellini d454c2f
Small cleanup and test distance rate message
neil-marcellini 0461782
Test modified expense for distance changed
neil-marcellini 1000dba
Merge branch 'main' into feat/46753-p2p-violation
neil-marcellini 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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passing the updated transaction instead of the old transaction caused a regression due to a bug in
getUpdatedTransaction
.