-
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
[HOLD #39616][$250] [Track Tax] - Tax does not show up in the Expense report when created offline #40051
Comments
Triggered auto assignment to @abekkala ( |
@abekkala FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #wave-collect - Release 1 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tax amount is not stored optimistically when we create IOU request offline What is the root cause of that problem?When we create the request offline, we call App/src/libs/TransactionUtils.ts Lines 86 to 103 in 8ae5491
But in here we do not save the tax rate and tax amount optimistically , we only send them to the Lines 2338 to 2352 in 8ae5491
but here we forgot to consider the case when IOU is created Offline at this case when we call buildOptimisticTransaction we do not pass and store both values optimistically.
What changes do you think we should make in order to solve the problem?We need to send additional props for Line 2297 in 8ae5491
Result VideoScreen.Recording.2024-04-11.at.7.03.14.AM.movNote: Same approach would be followed for tax rate as well, in the video I have only implemented taxamount |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
|
Job added to Upwork: https://www.upwork.com/jobs/~01d25bb36f4e169f12 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani ( |
@jayeshmangwani it looks like we've already received a couple proposals for review! 🎉 |
Note for @jayeshmangwani : I have added the result video during the time of proposal itself rather than providing you with long lengthy code lines as in our proposal guidelines it states that:
Code is something which is considered as implementation details and not the core idea, I have clearly stated where the changes would be implemented and what changes are required, I hope that helps you in making the decision, thanks 🥂 |
Will review proposals today |
Thanks @GandalfGwaihir and @nkdengineer for the proposals Both proposals are correct, and RCA is on point. @nkdengineer has added some extra details than @GandalfGwaihir for editing taxCode, but that is additional to the original issue. @GandalfGwaihir proposed a working solution first for the described issue, so in this case, we can go with user @GandalfGwaihir 's Proposal 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @arosiclair, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
👋 Just a heads up to make sure we distinguish between |
CC: @MonilBhavsar as it's Track Tax related. |
@arosiclair More about this C+ comment: We have addtional bugs related to the tax flow in offline mode (mentioned in my proposal), should we plan to fix it in this issue? If not, I think we can go with the selected proposal |
This is dupe of implementation issue - #39616 |
Should we just close this then? |
Let's close it 👍 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.62-0
Reproducible in staging?: Y
Reproducible in production?: Y
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): [email protected]
Issue reported by: Applause - Internal Team
Issue found when executing PR #39723
Action Performed:
Prerequisites:
Create WS collect, include Tax, add 5% rate.
Expected Result:
The tax should appear in the IOU report when created offline
Actual Result:
Tax does not show up in the IOU report when created offline
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6445180_1712786974295.Recording__34.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: