-
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
Workspace chat - Incorrect amount shown in preview card after payment. #46310
Comments
Triggered auto assignment to @madmax330 ( |
Triggered auto assignment to @sonialiap ( |
👋 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:
|
We think this issue might be related to the #collect project. |
Production Recording.2653.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.After paying ETB 300, the preview card on the workspace chat page incorrectly shows that ETB 400 is paid. What is the root cause of that problem?If we paid partial the expense report, we don't update the total of the expense report in optimistic data Line 6446 in afebc66
And then the What changes do you think we should make in order to solve the problem?We should update the total of the expense report here if the paid partial
Line 6472 in afebc66
We should do the same when we approve the report here
Line 6736 in afebc66
What alternative solutions did you explore? (Optional)NA |
@madmax330 Since it's a blocker, I can raise a PR quickly. |
Hi @nkdengineer, with any deploy blocker, can you please also link to the PR from the current checklist that caused the regression? Thanks! |
@francoisl It comes from this PR #42573. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Preview card showing incorrect amount after payment while offline. What is the root cause of that problem?When one payment was on hold, payment amount correctly reflects in "Pay XXX Elsewhere". But the same does not reflect in card amount. It still shows total amount before going offline. What changes do you think we should make in order to solve the problem?Update onyx on every payment irrespective of online or offline. What alternative solutions did you explore? (Optional)N.A. |
Updated proposal
|
Hi all 👋 I'm the author of the #42573 We decided not to update the value of the old (original) report because we can have expenses in different currencies. Example:
That's why we can't do it and behaviour is like that |
Ok, so this seems to be the expected behavior then. @war-in can you confirm so we can close this issue? |
@luacmartins Yes, I confirm :) |
Thanks! Gonna close this issue. |
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: v9.0.12-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): biruknew45+2d2gg@gmail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Prerequisite: A workspace is created and 2 expenses are submitted in the workspace chat.
Expected Result:
After paying ETB 300, the preview card on the workspace chat page should show that ETB 300 is paid.
Actual Result:
After paying ETB 300, the preview card on the workspace chat page incorrectly shows that ETB 400 is paid.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6553590_1721992163178.1.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: