fix: hide tax columns for time expenses in TransactionItemRow#81024
Merged
Gonals merged 1 commit intoExpensify:mainfrom Feb 3, 2026
Merged
Conversation
Time expenses do not support taxes (established in Expensify#77748). This fix hides TAX_RATE and TAX_AMOUNT columns for time expense transactions in the Reports > Expenses view. Fixes Expensify#80208
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
7 tasks
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppIgnored as no column support in mobile versions Android: mWeb ChromeIgnored as no column support in mobile versions iOS: HybridAppIgnored as no column support in mobile versions iOS: mWeb SafariIgnored as no column support in mobile versions MacOS: Chrome / Safari81024-web-chrome-001.mp4 |
rojiphil
approved these changes
Feb 2, 2026
Contributor
rojiphil
left a comment
There was a problem hiding this comment.
Thanks @cosmicvulpes for the PR.
@Gonals Changes LGTM and works well too.
Over to you. Thanks.
Gonals
approved these changes
Feb 3, 2026
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Contributor
|
🚀 Deployed to staging by https://github.com/Gonals in version: 9.3.11-25 🚀
|
Contributor
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.3.12-1 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explanation of Change
This PR fixes an issue where Tax Rate and Tax Amount columns in the Reports > Expenses view were displaying tax data for time expenses. According to PR #77748, time expenses should not display tax information since they don't support taxes.
The fix adds a check using the existing
isTimeRequest()function fromTransactionUtilsin theTransactionItemRowcomponent to conditionally hide tax data for time expenses:TAX_RATEcolumn: returns an empty string when the transaction is a time expenseTAX_AMOUNTcolumn: returnsnull(renders nothing) when the transaction is a time expenseThis aligns the Search/Reports view behavior with the
MoneyRequestViewbehavior established in PR #77748.Fixed Issues
$ #80208
PROPOSAL: #80208 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
NA as column selection is disabled on narrow screens.
Android: mWeb Chrome
NA as column selection is disabled on narrow screens.
iOS: Native
NA as column selection is disabled on narrow screens.
iOS: mWeb Safari
NA as column selection is disabled on narrow screens.
MacOS: Chrome / Safari
Screen.Recording.2026-01-30.at.10.17.26.PM.mov