-
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
[$250] Receipt audit shows "Receipt ° Verified √" when there's a violations related to SmartScan #46791
Comments
Triggered auto assignment to @muttmuure ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Receipt audit shows verified even though there is a receipt violation. What is the root cause of that problem?The "Issue found" will be shown if there is a violation that is included in App/src/components/ReportActionItem/MoneyRequestView.tsx Lines 377 to 384 in 2eb65f8
Both "Date differs from scanned receipt" and "Amount greater than scanned receipt" violations are not in the array, so the "Verified" is shown. App/src/components/ReportActionItem/MoneyRequestView.tsx Lines 433 to 434 in 2eb65f8
App/src/components/ReceiptAudit.tsx Lines 23 to 28 in 2eb65f8
What changes do you think we should make in order to solve the problem?We can just add both The violation below receipt is shown by
So, I propose to rename
Then, we pass the
|
Job added to Upwork: https://www.upwork.com/jobs/~01925fef567df5c3b7 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
@thesahindia any thoughts on @bernhardoj 's proposal? |
@bernhardoj's proposal looks good to me! 🎀 👀 🎀 C+ reviewed |
Current assignee @cead22 is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@bernhardoj do you think you'll have a PR up for this today? |
Yes, I'll work on the PR in a few minutes. |
Awesome, thank you! |
PR is ready |
The PR was deployed to prod 2 weeks ago, so this should be ready for payment. Requested in ND. |
Awaiting payment summary |
This issue has not been updated in over 15 days. @cead22, @muttmuure, @bernhardoj, @thesahindia eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
$250 - @bernhardoj |
$250 approved for @bernhardoj |
Anything else we need to do before we close this one? |
$250 approved for @thesahindia |
@thesahindia can you complete the checklist? |
"Date differs from scanned receipt" and "Amount greater than scanned receipt" violations weren't in the We can add a test case for them, here are the steps :-
|
@cead22, @muttmuure, @bernhardoj, @thesahindia Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@cead22, @muttmuure, @bernhardoj, @thesahindia 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
@muttmuure bump |
Created regression test request for applause |
@thesahindia just needs to submit his request in ND |
$250 approved for @thesahindia |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.16-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @cead22
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1722635347734459
Action Performed:
Expected Result:
When "Date differs from scanned receipt" and/or "amount greater than scanned receipt" are visible, the receipt audit component shouldn't show "Receipt ° Verified √"
Instead, it should say "Receipt ° Issue found" or "Receipt ° Issues found"
However, we should not show "Date differs from scanned receipt" or "Amount greater than scanned receipts" under the receipt (ie, in the ReceiptAuditMessages component)
We should show the "Date differs from scanned receipt" under the date field, and "Amount greater than scanned receipt" under the amount field
Actual Result:
You see "Receipt ° Verified √" when one of the two mentioned violations are present
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Recording.3152.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @muttmuureThe text was updated successfully, but these errors were encountered: