-
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
Add tax fields for distance requests #42342
Add tax fields for distance requests #42342
Conversation
@ishpaul777 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] |
@MonilBhavsar could not make Eto's PR ready to review. |
Thanks @narefyev91! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-05-20.at.4.49.32.PM.movAndroid: mWeb ChromeScreen.Recording.2024-05-20.at.4.56.40.PM.moviOS: NativeScreen.Recording.2024-05-20.at.5.08.26.PM.moviOS: mWeb Safaritrim.68400DA5-5597-43A6-A792-D19D5C833C87.MOVMacOS: Chrome / SafariScreen.Recording.2024-05-20.at.4.36.23.PM.movMacOS: DesktopUntitled.mov |
On my list for today 😄 |
currently i am enabling |
You can do it from oldDot app. Go to Workspaces > Select a workspace > Expenses > Distance |
Got it! Thanks @MonilBhavsar |
Thanks for the updates! Some more comments. Let's update this too and re test 🚀 |
done! |
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.
Thanks!
@ishpaul777 could you please retest. There are lots of updates since last review
It works great, i just noticed one thing that feels confusing UX, If tax is 0% we still show the edit amount and we really can't change it throws error Screen.Recording.2024-05-23.at.2.29.44.AM.mov |
That's a feature 😄 As far as we're displaying error, it's fine UX, I think |
Not merging because of freeze |
@MonilBhavsar what about spinning up a feature branch for these remaining XeroCon commit /app issues? Then we can merge into that once review and approved, to keep other issues moving and testing the changes in aggregate. We're doing that for the Xero integration and it's working great! |
Sounds good! I'll do that. I was thinking to merge this next week after things stabilizes little. |
✋ 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/MonilBhavsar in version: 1.4.77-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.77-11 🚀
|
Details
This PR adds Support for tax tracking when offline. (continue work from #41379)
Fixed Issues
$ #31673
PROPOSAL:
Tests
Expectation: Both the tax amount and tax rate fields cannot be modified - no right icon and the tax row is not interactive.
Edit Expense for Distance request
Go to the transaction thread and previously submitted distance expense.
Expectation: Both the tax amount and tax rate fields cannot be modified - no right icon and the tax row is not interactive.
Offline tests
Expectation: Both the tax amount and tax rate fields cannot be modified - no right icon and the tax row is not interactive.
Edit Expense for Distance request
Go to the transaction thread and previously submitted distance expense.
Expectation: Both the tax amount and tax rate fields cannot be modified - no right icon and the tax row is not interactive.
QA Steps
Expectation: Both the tax amount and tax rate fields cannot be modified - no right icon and the tax row is not interactive.
Edit Expense for Distance request
Go to the transaction thread and previously submitted distance expense.
Expectation: Both the tax amount and tax rate fields cannot be modified - no right icon and the tax row is not interactive.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
android-web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
8mb.video-5t1-swZERPk1.mp4
MacOS: Desktop
8mb.video-XQl-ErI5gOEE.mp4