-
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
Web - Taxes - RBR shown on expense preview without any errors in the transaction thread #52748
Comments
Triggered auto assignment to @JmillsExpensify ( |
Edited by proposal-police: This proposal was edited at 2024-11-19 10:21:29 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Taxes - RBR shown on expense preview without any errors in the transaction thread What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
function hasNoticeTypeViolation(transactionID: string, transactionViolations: OnyxCollection<TransactionViolation[]>, showInReview?: boolean): boolean {
// We don't want to show these violations on NewDot
const excludedViolationsName = ['taxAmountChanged', 'taxRateChanged'];
return !!transactionViolations?.[ONYXKEYS.COLLECTION.TRANSACTION_VIOLATIONS + transactionID]?.some(
(violation: TransactionViolation) =>
!excludedViolationsName.includes(violation.name) &&
violation.type === CONST.VIOLATION_TYPES.NOTICE &&
(showInReview === undefined || showInReview === (violation.showInReview ?? false)),
);
What alternative solutions did you explore? (Optional)Result |
@JmillsExpensify Eep! 4 days overdue now. Issues have feelings too... |
I actually forget if this is by design. @MonilBhavsar can you clarify? |
@JmillsExpensify, it was decided to not show Please see these comments: #41401 (comment) #41649 (comment) |
#41401 (comment) #41649 (comment) Reading through these comments. Looks like we no longer display taxRateChanged and taxAmountChanged notice violation because we have system messages and reviewer/approver can know if it has changed. If so, we need to stop sending these violations from server at all for newDot requests and not add any conditional logic on the client side. Also remove the code we have currently |
@MonilBhavsar, I can work on removing the conditional logic from the frontend if needed. |
Nice, thanks both for the refresher. Agree with those comments. |
Working on this today |
@JmillsExpensify @MonilBhavsar 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! |
Submitted PR's for review |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.72-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-12-16. 🎊 |
@MonilBhavsar @JmillsExpensify @MonilBhavsar The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
no payment is due here. 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.64-0
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: #52309
Email or phone of affected tester (no customers): applausetester+nl797@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
No RBR on the expense
Actual Result:
RBR shown without any errors in the transaction thread
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6669095_1731995117189.bandicam_2024-11-19_08-38-33-101.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @JmillsExpensifyThe text was updated successfully, but these errors were encountered: