-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
Include status change line in update emails using auto response templates. #4967
Include status change line in update emails using auto response templates. #4967
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4967 +/- ##
==========================================
+ Coverage 82.57% 82.79% +0.22%
==========================================
Files 393 393
Lines 30697 31248 +551
Branches 4861 5009 +148
==========================================
+ Hits 25349 25873 +524
- Misses 3897 3908 +11
- Partials 1451 1467 +16 ☔ View full report in Codecov by Sentry. |
fb1168d
to
76a1059
Compare
perllib/FixMyStreet/Script/Alerts.pm
Outdated
@@ -133,6 +133,9 @@ sub send_alert_type { | |||
$row->{item_text_original} = $row->{item_text}; | |||
$row->{item_text} = $row->{item_text} ? $row->{item_text} . "\n\n" . $update : | |||
$update; | |||
if ($row->{item_private_email_text} && $report->contact->get_extra_metadata('type', '') ne 'waste') { |
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.
Just curious if this could be $report->cobrand_data ne 'waste'
instead?
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.
Aha yes, appears so
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! 👍
templates. Except for waste categories. #4901
f0f41d0
to
44674bb
Compare
Except for waste categories.
closes #4901