Fix next step message for Approved Reports without VBA setup#73270
Fix next step message for Approved Reports without VBA setup#73270puneetlath merged 8 commits intoExpensify:mainfrom
Conversation
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.
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeMacOS: Chrome / SafariCase where approver and payer are same Screen.Recording.2025-11-15.at.19.42.12.movCase where approver and payer are different
MacOS: Desktop |
|
@mohammadjafarinejad let's merge main |
|
Can you check why the report status seems to be set incorrectly when approving the report optimistically, bcoz of that we are unable to test our optimistic next step change Screen.Recording.2025-11-03.at.19.12.08.mov |
Sure, I’ll check it. |
|
I think it may be related to this: Lines 10228 to 10236 in b82e253 |
|
Thanks. I have asked there https://github.com/Expensify/App/pull/72913/files#r2488695993 |
|
@Pujan92 Ready for review ✅👀 |
|
Sorry @mohammadjafarinejad. Plz resolve conflicts and update the latest recordings |
|
Bump @mohammadjafarinejad |
Hi, sorry for the delay. I’ll try to get it updated today. |
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 9.2.62-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.2.62-5 🚀
|


Explanation of Change
This PR fixes an issue where approved reports showed "Waiting for [approver] to finish setting up a business bank account" when reimbursement was enabled but no VBA was configured. The fix removes the
hasValidAccountcheck frombuildNextStep()andbuildNextStepNew(), so the message now consistently reads "Waiting for [reimbursement account holder] to pay expenses."Fixed Issues
$ #71573
PROPOSAL: #71573 (comment)
Tests
Prerequisites
Test Case 1: Employee View (Report Owner)
Test Case 2: Admin View (Reimbursement Account Holder - Self)
Offline tests
QA Steps
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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
FIX_71573_ANDROID.mp4
Android: mWeb Chrome
FIX_71573_ANDROIDWEB.mp4
iOS: Native
FIX_71573_IOS.mp4
iOS: mWeb Safari
FIX_71573_IOSWEB.mp4
MacOS: Chrome / Safari
FIX_71573_WEB.mp4
MacOS: Desktop
FIX_71573_DESKTOP.mp4