Allow submitters to select "Received reimbursement" option - #86174
luacmartins merged 24 commits into
Conversation
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f6b4405330
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Joe is leading this one up |
|
@nabi-ebrahimi I want to test this on an adhoc build. I assume I need to wait for the BE PRs to be deployed to do that, yeah? |
|
@MelvinBot review |
|
🤖 PR Review CI Failures (must fix)
All three failures stem from the same root cause: missing translations. Code ReviewIssue: Delegate check after confirmation modalIn Issue: Missing test coverage
Minor: Consider guarding against zero-reimbursable reports
|
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
| navigateToDetailsPage(moneyRequestReport, Navigation.getReportRHPActiveRoute()); | ||
| }, | ||
| }, | ||
| [CONST.REPORT.SECONDARY_ACTIONS.RECEIVED_PAYMENT]: { |
There was a problem hiding this comment.
Let's move this action to useLifecycleActions
Co-authored-by: Pujan Shah <shahpujan1992@gmail.com>
…or admin Co-authored-by: Pujan Shah <shahpujan1992@gmail.com>
…s in translations Co-authored-by: Copilot <copilot@github.com>
|
@Pujan92 Feedbacks applied. Could you please take another look when you have a moment? Thanks |
|
@nabi-ebrahimi some checks are failing |
|
🚧 @luacmartins has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.3.69-0 🚀
Bundle Size Analysis (Sentry): |
|
Yes, help site changes are required. PR #86174 adds a new Received payment secondary action in the report More menu for submitters, which needs to be documented. I've created a draft PR with the updates: #90013 Changes made:
The |
|
Deploy Blocker #90031 was identified to be related to this PR. |
|
Deploy Blocker ##90035 was identified to be related to this PR. |
|
Deploy Blocker ##90070 was identified to be related to this PR. |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.3.69-18 🚀
|
Explanation of Change
NewDot now includes a
Received paymentoption in the reportMoremenu for eligible submitters. When selected, it shows a confirmation modal and then uses the existing pay-elsewhere flow to mark the report as paid, while staying hidden for true bank-payment scenarios.Fixed Issues
$ #83035
PROPOSAL: #83035 (comment)
Tests
Received paymentoption.Offline tests
Same as Tests.
QA Steps
Same as Tests.
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2026-03-24.at.11.18.15.AM.mov
Android: mWeb Chrome
Screen.Recording.2026-03-24.at.11.23.11.AM.mov
iOS: Native
Screen.Recording.2026-03-24.at.11.32.54.AM.mov
iOS: mWeb Safari
Screen.Recording.2026-03-24.at.11.37.58.AM.mov
MacOS: Chrome / Safari
Screen.Recording.2026-03-24.at.9.43.57.AM.mov