Repository navigation
[CP Staging] Fix missing merchant and date field in invoice confirm page - #51083
Conversation
|
@rayane-djouah Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-18.at.2.05.24.PM.movAndroid: mWeb ChromeScreen.Recording.2024-10-18.at.2.03.56.PM.moviOS: NativeSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-10-18.at.14.03.10.mp4iOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-10-18.at.13.59.23.mp4MacOS: Chrome / SafariScreen.Recording.2024-10-18.at.1.54.51.PM.movMacOS: DesktopScreen.Recording.2024-10-18.at.1.56.24.PM.mov |
Fix missing merchant and date field in invoice confirm page (cherry picked from commit 4d3e707) (CP triggered by Beamanator)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.0.50-8 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
@rayane-djouah @bernhardoj could y'all please test that this is working well in staging now? 🙏 |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.50-8 🚀
|
| }; | ||
| const transactionRequestType = useMemo(() => transaction?.iouRequestType ?? selectedTab, [transaction?.iouRequestType, selectedTab]); | ||
| const transactionRequestType = useMemo( | ||
| () => (transaction?.iouRequestType ?? shouldUseTab ? selectedTab : CONST.IOU.REQUEST_TYPE.MANUAL), |
There was a problem hiding this comment.
Coming from #63361, we should check if per diem request is available
Details
If the user previously open a distance request tab, then go to send invoice page confirmation, the merchant and date field is missing.
Fixed Issues
$ #51078
$ #50098
PROPOSAL:
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop