-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$250] Expense - Banner shows "transaction pending" when there is no pending Ecard transaction #48083
Comments
Edited by proposal-police: This proposal was edited at 2024-08-27 13:34:39 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Banner shows "transaction pending" when there is no pending Ecard transaction What is the root cause of that problem?
App/src/components/MoneyReportHeader.tsx Line 109 in c2e7f40
What changes do you think we should make in order to solve the problem?First, we need to check if ReportUtils.getTransactionsWithReceipts(moneyRequestReport?.reportID) returns a non-empty array. Only if it's not empty then we should use App/src/components/MoneyReportHeader.tsx Line 109 in c2e7f40
We can create a utility function to check if We have two options here: either make changes directly in We are doing the same here where we have two functions Lines 6997 to 6998 in 492b884
If this issue appears elsewhere, we should fix it there as well What alternative solutions did you explore? (Optional) |
@lanitochka17 Could you add the labels again? no one is assigned here. |
Triggered auto assignment to @luacmartins ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Job added to Upwork: https://www.upwork.com/jobs/~01dfc30aa1d4201062 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rojiphil ( |
@Nodebrute are you available to work on a fix? |
@luacmartins Yes, I can raise a pr right now. |
📣 @rojiphil 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Nodebrute 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Cool, all yours then |
The PR will be done in about 30 minutes. |
oh i think we already have a fix for this maybe? #47941 We noticed this last week but hasn't been fully reviewed yet |
@Nodebrute please hold on working on the PR as it seems like we already had a fix in place - #47941 |
This is fixed in staging. Closing. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.25
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): applausetester+kh2508001@applause.expensifail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The banner will not show "Transaction pending. It may take a few days to post." because there is no pending Ecard transaction
Actual Result:
The banner shows "Transaction pending. It may take a few days to post."
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
20240827_131711.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @rojiphilThe text was updated successfully, but these errors were encountered: