Make taxes read-only when connected to accounting integration#41785
Make taxes read-only when connected to accounting integration#41785SzymczakJ wants to merge 3 commits intoExpensify:xero-merge-freezefrom
Conversation
|
@dukenv0307 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] |
|
@SzymczakJ, please also take a look at these comments (this one and this one) 🙇 |
|
Do we need C+ here? |
|
We are waiting for Xero import features to be merged so we can reliably test this. I can ping you when it's ready 😄 @dukenv0307 |
|
@SzymczakJ Thank you |
|
Let's use -> |
|
@SzymczakJ let me know your ETA 😄 |
|
@hayata-suenaga I'll try to complete this tomorrow(if backend for xero will be working(for now it's not)) |
|
@lakchote, why did you close this PR? 😄 |
|
Created a new PR addressing this. It is only touching taking care of taxes page because tags were fixed in some other PR. |
Hmm, thanks @hayata-suenaga for pinging me, at first I thought I was becoming crazy but I found the reason 😄 I merged the |

Details
When connected to accounting integration(QBO or Xero) taxes, tags and categories should be read-only(user cannot delete/add them). This PR covers that.
Fixed Issues
$ #39911
PROPOSAL: N/A
Tests
Offline tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mov
MacOS: Desktop