-
Notifications
You must be signed in to change notification settings - Fork 112
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
LG-14259 Update Report formatting #11166
Conversation
changelog: Internal, Reporting, Update LG-99 Report Layout
@@ -29,7 +29,7 @@ def perform(date = Time.zone.yesterday.end_of_day) | |||
|
|||
ReportMailer.tables_report( | |||
email: email_addresses, | |||
subject: "Fraud Metrics Report - #{date.to_date}", | |||
subject: "Fraud Metrics Report - #{report_date.to_date}", |
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.
using the accessor.
Can we please add some before/after screenshots to help add context to the changes? |
def as_emailable_reports | ||
Reporting::EmailableReport.new( |
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.
I'm glad this plural method name is now actually returning an array
Pics added. Thanks! |
] | ||
end | ||
|
||
def to_csvs |
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.
this method is unused now, right? let's remove it entirely
] | ||
end | ||
|
||
def as_tables |
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.
ditto, this is unused too?
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.
yep, done. If we ever want to mimic some of the other reporting then we can just add it back.
changelog: Internal, Reporting, Update LG-99 Report Layout
🎫 Ticket
Link to the relevant ticket:
LG-14259
🛠 Summary of changes
Broke the LG-99 csv/tables into 3 sections
LG-99
Suspension
Reinstatement
📜 Testing Plan
Provide a checklist of steps to confirm the changes.
👀 Screen Shots
Before:
After: