mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 06:28:24 -04:00
Added returned-letter-summary page.
This page displays a list of available reports, a report is a set of returned lettters that have been reported on the same day. Each line of the page is a link that can download the report. I'm not sure the format of the csv is right. The data might be confusing especially if the service has a mix of precompiled templates and jobs. Units tests are still to come.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
field_headings_visible=False
|
||||
) %}
|
||||
{% call field() %}
|
||||
<a href="{{url_for('.returned_letters_report', service_id=current_service.id, reported_date=item.reported_at)}}">
|
||||
<a href="{{url_for('.returned_letters_report', service_id=current_service.id, reported_at=item.reported_at)}}">
|
||||
Returned letters reported on {{ item.reported_at | format_datetime_short}} ({{ item.returned_letter_count}} letters)
|
||||
</a>
|
||||
{% endcall %}
|
||||
|
||||
Reference in New Issue
Block a user