-
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
🍒 Cherry pick PR #42064 to staging 🍒 #42129
Conversation
This pull request has merge conflicts and can not be automatically merged. 😞 |
@Julesssss Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@@ -150,12 +150,12 @@ function IOURequestStepTaxAmountPage({ | |||
<MoneyRequestAmountForm | |||
isEditing={Boolean(backTo || isEditing)} | |||
currency={currency} | |||
amount={transactionDetails?.taxAmount} | |||
taxAmount={getTaxAmount(transaction, policy, Boolean(backTo || isEditing))} | |||
amount={Math.abs(transactionDetails?.taxAmount ?? 0)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This line specifically didn't come from #42064, but it was included in this cherry-pick PR for some reason - it looks like a fix to something else that exists in main
which is why I kept it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh hey this change is from this PR - https://github.com/Expensify/App/pull/42039/files - which we also wanted to CP, so good we added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Straightforward and looks good!
🍒 Cherry pick #42064 to staging 🍒
Tests