-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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] [Track Tax] Tax currency is editable for employee, and it reverts to default currency after creation #40593
Comments
Triggered auto assignment to @CortneyOfstad ( |
@CortneyOfstad 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 - Tax currency is editable for employee, and it reverts to default currency after creation What is the root cause of that problem?The main problem with issue is that we can't change amount when it's DistanceRequest App/src/components/MoneyRequestConfirmationList.tsx Lines 665 to 689 in 48f64d0
But we don't have this condition for taxAmount What changes do you think we should make in order to solve the problem?To fix this issue we can disable taxAmount (optional taxRate) when it's DistanceRequest using the same logic as for amount App/src/components/MoneyRequestConfirmationList.tsx Lines 838 to 854 in 48f64d0
What alternative solutions did you explore? (Optional)NA |
The expected result is wrong IMO, we should indeed be able to edit taxes on any distance request, so I will propose my solution accordingly. ProposalPlease re-state the problem that we are trying to solve in this issue.There is a mismatch in currency of amount and tax rate. What is the root cause of that problem?When we
This Observe the currency of Now these values are sent to the What changes do you think we should make in order to solve the problem?We should always set currency to This is safe to do as the currency does change for Screen.Recording.2024-04-20.at.6.49.29.AM.movHence, we should allow the same for distance requests as well. So we should change the currency of What alternative solutions did you explore? (Optional)N/A
App/src/components/MoneyRequestConfirmationList.tsx Lines 823 to 825 in 48f64d0
App/src/components/MoneyRequestConfirmationList.tsx Lines 840 to 842 in 48f64d0
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Tax currency is editable for employee, and it reverts to default currency after creation What is the root cause of that problem?We disable the
What changes do you think we should make in order to solve the problem?We should do the same for "Tax Amount" here shouldShowRightIcon={!isReadOnly && !isDistanceRequest}
onPress={() => {
if (isDistanceRequest) {
return;
}
// ...
}} POC: |
@CortneyOfstad Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~01bf4f1d5c88c460fe |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Posted in Wave Collect and will follow up when we have an urgency. @mananjadhav we have some proposals above for you to review when you have a chance 👍 Thanks! |
@MonilBhavsar discussion about this here for you to catch up on. |
It will be fixed by #31673 |
Should we close this one then? |
Maybe, it will be good to point to which PR in that linked issue will fix this because there's a bunch of them, a lot of which are merged. |
@MonilBhavsar to echo TRJ, there are quite a few PRs linked in the GH here — can you point out the PR I should be keeping an eye on as the on-hold for this GH? TIA! |
It's this one #31673 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Draft PR is here |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Still waiting on draft PR. Will be delayed due to merge freeze 👍 |
Merge freeze ends on Monday 🎉 |
This is actively being worked on via the on-hold GH, as there was an issue with the distance rates. Discussed here |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Per the comment here, someone else is going to take this on 👍 They are not online now, but will keep an eye on this to get them assigned ASAP. |
@CortneyOfstad Do you need a C+ assigned here? |
@mananjadhav — one is automatically assigned via the External label, but I will unassign, as it is not needed at this stage. Thanks! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
PR is here. We're on a merge freeze, so will be a bit before it will be released |
@CortneyOfstad Huh... This is 4 days overdue. Who can take care of this? |
Merge freeze extended |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
#42342 has been deployed to staging, taking this off hold. |
@MonilBhavsar what are the next steps here? |
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.63-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
Issue reported by: Applause - Internal Team
Action Performed:
Precondition:
Expected Result:
Since workspace employee is unable to edit the distance amount, they should not be able to edit tax currency
Actual Result:
Workspace employee is able to edit tax currency for distance request. After the request is created, the tax currency reverts to the workspace default currency
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6454202_1713469646447.20240419_034127.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: