-
Notifications
You must be signed in to change notification settings - Fork 3k
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] Negative amount displayed in Pay with Expensify Dropdown Button and Confirm payment amount Modal #42325
Comments
Triggered auto assignment to @zanyrenney ( |
To me this looks BE-related if we look at the transaction amounts (see C+ Slack 🧵) being a positive number, considering it should be negative as that's how we store it in BE and since we have logic here, here and other places in FE in order to make it positive. Note If this is BE related, I'd look at the “What do you want to do today?” Modal -> “Manage my team's expenses” flow. But could also be some mix-up on the FE, not entirely sure 🤔 |
Thanks for adding these thoughts @ikevin127 ! |
@zanyrenney Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Seeing as this is a BE issue and noone has volunteered for it in slack. I think we should reopen if we encounter this via a real user flow rather than the slightly complex reproduction steps above. |
Issue is still reproducible on the latest build 1.4.76-2
bandicam.2024-05-27.20-59-23-495.mp4 |
@zanyrenney this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@zanyrenney Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@zanyrenney Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
Been OOO, this reopened whilst I was out. |
As it's still reproducible, assigning external. |
Job added to Upwork: https://www.upwork.com/jobs/~01cc7f63f52440c4db |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Notice that the report header “Pay with Expensify” green dropdown button shows negative amount like -$7.00. What is the root cause of that problem?We show the displayed amount as the In this function, we always What changes do you think we should make in order to solve the problem?For here and here we should check if the What alternative solutions did you explore? (Optional)NA |
📣 @dominictb 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
This confused me for a minute and I had to read through the discussions and look at the code for awhile but it does make sense to me that this is a frontend issue. Appears that we overlooked this particular scenario when implementing the hold functionality for reports. |
@blimpich Sorry missed your comment. Can you elaborate, which part you think we have a problem. Is this the fact that amounts are in negative when in expense reports and positive in iou reports? Should we pause PR or go on with proposed solution? |
Go with the proposed solution, sorry, my comment was worded poorly. When I say "we overlooked" I don't mean you and @dominictb, I mean the original implementors of this code that we are now fixing. Please proceed forward with the proposed solution. |
This issue has not been updated in over 15 days. @blimpich, @zanyrenney, @alitoshmatov, @dominictb eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Did we ever pay out for this issue? @zanyrenney can you make sure we paid for the work done here? I think maybe the automation failed? |
The PR was deployed to production on july 16th |
We can complete the payment and close the issue cc: @blimpich @zanyrenney |
This issue has not been updated in over 15 days. @blimpich, @zanyrenney, @alitoshmatov, @dominictb eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
Bump |
Sorry for the delay @alitoshmatov! @zanyrenney can we get payment completed and close out this issue soon? |
Sure thing @blimpich - on it now. |
Payment summary paid @alitoshmatov $250 via upwork |
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: 1.4.74-4
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @ikevin127
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1715813045792699
Action Performed:
Prerequisite : Have one existing account (A) and one newly created account (B)
3, Input business name and Continue.
Notice that the report header “Pay with Expensify” green dropdown button shows negative amount like
-$7.00
.After clicking on the dropdown arrow button > Select “Pay elsewhere”.
Expected Result:
-Report header “Pay with Expensify” green dropdown button shows the amount as positive amount
-Clicking on the header “Pay elsewhere” button “Confirm what to pay” modal also shows positive amount for both options.
Actual Result:
-$7.00
.Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Screen.Recording.2024-05-15.at.15.31.26.mov
Recording.80.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @zanyrenneyThe text was updated successfully, but these errors were encountered: