Fix scanning expense can be approved as 0.00 amount and can not be edited #50016
Fix scanning expense can be approved as 0.00 amount and can not be edited #50016M00rish wants to merge 3 commits intoExpensify:mainfrom M00rish:m00rish-48590
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 |
eVoloshchak
left a comment
There was a problem hiding this comment.
@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 |
|
🎯 @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! |
|
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 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.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
)