After deleting tax rate, tax no longer valid is displayed but tax rate is not shown#61602
Conversation
|
@dominictb 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] |
|
@dominictb The PR is quite different from the proposal. I think we should show something like
|
@nkdengineer Can you elaborate on this? I think tax name is unique just like tax code, isn't it? |
|
@dominictb Now taxCode is used in many APIs, so if we want to store taxName we have to change the optimistic data of all these APIs. We also need BE to do the same.
Yes, but taxName can be updated Let's assume we store taxName: taxName_1 with taxCode: taxCode_1 in the That why I believe it's overkill (we don't do that with category) |
|
@mollfpr What do you think about @nkdengineer suggestion to just show |
|
@mollfpr Looking forward to your thoughts |
|
Sorry for the delay!
I'm still inclined to the expected result to show the tax name, and I think the proposal is already great planning out the solution. So, showing |
|
@mollfpr Ok, that's fine, but it requires BE change to accept |
|
Thank you @nkdengineer! I'm working on the BE changes! |
|
@dominictb The PR is ready for review |
|
bump @dominictb |
|
Lint and prettier failed previously so I didn't start sooner. Reviewing now. |
|
Code looks good. Will test more tomorrow. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeScreen.Recording.2025-08-07.at.00.47.04-compressed.moviOS: HybridAppScreen.Recording.2025-08-07.at.00.43.08-compressed.moviOS: mWeb SafariScreen.Recording.2025-08-07.at.00.44.07-compressed.movMacOS: Chrome / SafariScreen.Recording.2025-08-07.at.00.30.32-compressed.movMacOS: DesktopScreen.Recording.2025-08-07.at.00.42.19-compressed.mov |
Co-authored-by: Dominic <165644294+dominictb@users.noreply.github.com>
Co-authored-by: Dominic <165644294+dominictb@users.noreply.github.com>
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mollfpr in version: 9.1.91-0 🚀
|
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.1.92-5 🚀
|
Explanation of Change
Fixed Issues
$ #61134
PROPOSAL: #61134 (comment)
Tests
Offline tests
Same as tests
QA Steps
Same as tests
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))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
Screen.Recording.2025-07-30.at.15.56.52.mov
Android: mWeb Chrome
Screen.Recording.2025-07-30.at.15.53.51.mov
iOS: Native
Screen.Recording.2025-07-30.at.15.57.44.mov
iOS: mWeb Safari
Screen.Recording.2025-07-30.at.15.50.22.mov
MacOS: Chrome / Safari
Screen.Recording.2025-07-30.at.15.46.08.mp4
MacOS: Desktop
Screen.Recording.2025-07-30.at.16.01.25.mov