-
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
Fix - eReceipt is shown when imported card expense automatically merges with scanned receipt #47798
Conversation
@shubham1206agra 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] |
@vit @grgia Could you please provide me (viktoryia.kliushun@callstack.com) access to the travel functionality so I can test the bug mentioned above? |
@shubham1206agra I have access to the travel beta functionality, but I still can't create a test travel cause I don't have |
@VickyStash Book a dummy travel through OldDot. It will be reflected back in NewDot. |
@shubham1206agra I can't do it cause when I try to accept Spotnana terms and conditions it gives 507 error |
@twisterdotcom Bump here for help |
@stitesExpensify sorry I'm OOO. Could you help here. TY. |
@shubham1206agra Maybe you can add me to your workspace or something like that so I can see the travel receipt? |
I can take a look at this today |
@shubham1206agra the bug is fixed, please take another look |
@shubham1206agra kind bump 🙂 |
While digging into this PR more, I realized that maybe the solution that was used was not correct. Based on the proposal we check for But in fact the App/src/libs/TransactionUtils/index.ts Lines 183 to 185 in 9e82ed8
Another thing is Travel transactions, which actually has receipt, but no source inside. I think the more right to check it will to check for the @shubham1206agra what do you think? |
@VickyStash I think this will give a more accurate result. |
@shubham1206agra Updated, please take a look |
@shubham1206agra can you please review :) |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariScreen.Recording.2024-08-30.at.9.05.16.PM.movMacOS: Chrome / SafariScreen.Recording.2024-08-30.at.9.03.39.PM.movMacOS: DesktopScreen.Recording.2024-08-30.at.9.10.17.PM.mov |
@grgia kind bump 🙂 |
@grgia could you please take a look at the PR? |
Back from OOO, thank you @JKobrynski ! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Details
Fixed Issues
$ #46552
PROPOSAL: #46552 (comment)
Tests
Onyx.merge("transactions_<transactionID>", {'hasEReceipt': true});
Offline tests
N/A
QA Steps
Same as Tests section above
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop