-
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] Notification email is inaccurate for approved expense report which are paid by corporate card #52620
Comments
Triggered auto assignment to @sonialiap ( |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
@sonialiap Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Asked Sara if she's seen multiple cases of this |
Sara confirms this behavior happened again, reproduced |
Job added to Upwork: https://www.upwork.com/jobs/~021859169766336598808 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
Email templating is handled on the BE side -> this issue can only be fixed by the |
Agree, it should be "Internal" issue |
@sonialiap Whoops! This issue is 2 days overdue. Let's get this updated quick! |
not overdue, still waiting an internal engineer pick up this issue |
not overdue |
posten in slack |
@sonialiap can you please get a few more examples of that email from other accounts or make sure that this is reproducible on your account? There are a few things that stand out to me:
|
@sonialiap Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@tgolen the report has one reimbursable cash expense and two non-reimbursable expenses (ID: R00WJstnjV3Q (Long ID: 7056912391146520)) Errors:
Maybe the "you were paid" email shouldn't even mention the non-reimbursable expenses. Seems odd to have them included |
@Beamanator It looks like you might be familiar with this. Would you be open to fixing it? |
Innnnnnteresting, yeah i'm happy to look into this one! |
oh wait this looks eerily similar to another issue - at least part of the bug(s) here |
ok ya at least for the email subject line, that looks related to #52800 - which was fixed by https://github.com/Expensify/Web-Expensify/pull/44516 - which went to prod 2 weeks ago... I asked in slack (this thread) if we have any more recent examples of buggy email notifications. So at least this part should have been fixed already:
|
Fairrrr - PR to fix this should be here: https://github.com/Expensify/Web-Expensify/pull/44740
Also very fairrr |
Yooo @rlinoz @blimpich @jasperhuangg got a Comment email question for y'all! In ReportUtils::formatCommentsForEmailNotificationParams, I see us only getting the report actions in the expense report, i don't see us getting any transaction data & adding it to the report comment data 🤔 Do any of y'all have an idea how we can tell if we should put something like If you look in this comment, you can see that it looooks like we send |
Yeah I think I added that relatively recently. I was not aware it was ever anything other than |
Nice! Seems like I asked the right people! 😅
I thinkkkk yes, it looks like it's somewhere around here: App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Lines 194 to 208 in 39aff4d
|
Sweet! Well I think we basically just need to replicate this logic either in |
I like that idea! BTW I'm only 50% today (heading out soon) and out tomorrow, so ifffff any of y'all wanna try to work on that for next week, feel free! 🤣 |
Lol my plate is full at the moment but I'll keep it on the radar 📡 |
I'm OOO Dec 16-20, but I don't think this needs a BZ leave buddy, not assigning anyone |
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:
Reproducible in staging?: Needs reproduction
Reproducible in production?: Needs reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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: @saracouto
Slack conversation (hyperlinked to channel name): ts_external_expensify_bugs
Action Performed:
Expected Result:
Email notification mentioning the payer/approver has paid the expense, No message from concierge regarding payment as this expense is done with corporate card
Actual Result:
$0.00 expense
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hoangzinhThe text was updated successfully, but these errors were encountered: