-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix scanning expense can be approved as 0.00 amount and can not be edited #50016
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
@eVoloshchak a kind bump for review, thanks |
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.
@M00rish, the code looks good and tests well, awesome job!
There are a couple of issues with PR author checklist
- "sane as QA steps", "same as QA stpes" - those are just typos
- Both "Fixed issue" and "Proposal" links are formatted incorrectly. We use this for GH automation, so it's important the'yre formatted exactly as explained in the PR author checklist
It should look like this (or take a look at any of the PR's in the repo)
Checklist updated, @eVoloshchak, thanks! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-14.at.21.41.40.movAndroid: mWeb ChromeScreen.Recording.2024-10-14.at.21.42.51.moviOS: NativeScreen.Recording.2024-10-14.at.21.40.35.moviOS: mWeb SafariScreen.Recording.2024-10-14.at.21.39.28.movMacOS: Chrome / SafariScreen.Recording.2024-10-14.at.21.32.41.movMacOS: DesktopScreen.Recording.2024-10-14.at.21.36.39.mov |
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.
LGTM!
🎯 @eVoloshchak, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #50738. |
Reminder from the updated contributing guidelines
@eVoloshchak the item below is checked in reviewer checklists but there are two console errors that weren't reported as far as I can see.
Can you please report it or open an issue for it and link it here?
Then check the item I unchecked in the reviewer checklist and ping here again. Thanks! |
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.
Changes LGTM
Ah @M00rish you'll need to remove or undo and sign the unsigned commits. Since it's a small PR you could even close this one and reopen one with signed commits if that's quicker. |
Details
Fixed Issues
$ #48590
PROPOSAL: #48590 (comment)
Tests
same as QA steps
Offline tests
same as QA steps
QA Steps
1 - Create three accounts employer, approver, and admin
2 - Login as admin and create a workspace
3 - Add employer and approver
4 - Assign approver as the approver in the workspace workflow settings
5 - Login as the employer, submit a scan expense (blurry one) and a manual expense
6 - Login as the approver, hold the manual expense
7 - verify that approver can't approve the scan expense as 0.00 amount
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.mp4
Android: mWeb Chrome
android.web.mp4
iOS: Native
ios15.mp4
iOS: mWeb Safari
mweb.mp4
MacOS: Chrome / Safari
bandicam.2024-10-01.22-48-17-457.mp4
MacOS: Desktop
bandicam.2024-10-01.22-40-33-741.mp4
)