-
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
Only show receipt-related violations in receipt audit #42661
Conversation
Reviewer Checklist
Screenshots/Videos |
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.
Looks good
Can you add tests to make sure showing receipt-related notice violations are shown in receipt audit? This is arguably the most important thing to test in this PR. I see a screenshot shows this, but the test steps should lead to a state where we can check that this is working correctly |
@cead22 I resolved the feedbacks and added test steps and screenshots. |
✋ 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/cead22 in version: 1.4.77-11 🚀
|
🚀 Deployed to staging by https://github.com/cead22 in version: 1.4.77-11 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.78-5 🚀
|
Details
This PR only shows receipt-related violations under receipt including
'receiptRequired', 'receiptNotSmartScanned', 'modifiedDate', 'cashExpenseWithNoReceipt', 'smartscanFailed'
.Fixed Issues
$ #41771
PROPOSAL: #41771 (comment)
Tests
Precondition: Have a Control workspace in which both the admin and the employee are in violation betas.
Expenses
>Expense Violations
and setMembers
>Expense Approvals
>Manually approve all expenses over
to an arbitrary amountExpenses
>Expense Violations
and setReceipt Required Amount
to a specific amountReceipt required over x amount
.Offline tests
NA
QA Steps
Same as Tests
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: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop