-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Enable Reimbursable field on track expenses #73189
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
cristipaval
merged 16 commits into
Expensify:main
from
callstack-internal:feat/72227-reimbursable-field
Nov 19, 2025
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
78c1c79
feat: show reimbursable field for unreported expense
koko57 8d02dcd
feat: show reimbursable field when creating track expense
koko57 d86e13f
fix: prettier
koko57 001d112
Merge branch 'main' into feat/72227-reimbursable-field
koko57 0691e6a
Merge branch 'main' into feat/72227-reimbursable-field
koko57 4443126
fix: minor fix
koko57 79c9464
Merge branch 'main' into feat/72227-reimbursable-field
koko57 909ccfe
fix: resolve conflicts
koko57 2ef245d
fix: preserve reimbursable value
koko57 8190599
fix: resolve conflicts
koko57 47a84f0
fix: resolve conflicts
koko57 c4a5797
Merge branch 'main' into feat/72227-reimbursable-field
koko57 275b6d4
fix: set reimbursable for tracked expense
koko57 251c052
fix: eslint
koko57 06567de
fix: prettier
koko57 2a04733
Merge branch 'main' into feat/72227-reimbursable-field
koko57 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 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.
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.
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.
I don't think this is a good idea.
We have 4 default values for Reimbursable.
Here last 2 values will not show the checkbox on the unreported expenses.
Now, when we submit such an expense where the checkbox is not visible or the default workspace is set to any of the last 2 values as default to a different workspace, the default value of that workspace should be shown on the confirm page.
@cristipaval What do you think about this?
Uh oh!
There was an error while loading. Please reload this page.
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.
cc: @dylanexpensify
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.
so how I'm supposed to handle it?
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.
are you talking about the
Submit it to someoneoption?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.
@parasharrajat and what are the expected results in your opinion? I'm not sure if I get what you mean
Uh oh!
There was an error while loading. Please reload this page.
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.
Yes. I am talking about submitting to someone.
Expected behaviour is to keep the default value for the checkbox on the confirm page while submitting to someone if the reimbursable checkbox is hidden on an unreported expense.
In the last 2 options in the screenshots, the checkbox will be hidden on the unreported expense.
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.
or we can leave it as it is as technically, while submitting to someone, we will move the value of the reimbursable checkbox to the confirm page. And in this case, even though it is hidden but it has a value internally
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.
@parasharrajat so could you please sum up what the next steps here should be?
Uh oh!
There was an error while loading. Please reload this page.
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.
Discussion on slack group.