Add new report to show monthly notification stats for each service

This report will be used by the engagement team. There is a form to give
a start and end date for the report, and the form is then downloaded
as a CSV file when the form is submitted.
This commit is contained in:
Katie Smith
2019-07-22 13:09:03 +01:00
parent 1bd5ff1dfc
commit 9dc13f1d8e
8 changed files with 169 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
{% extends "views/platform-admin/_base_template.html" %}
{% from "components/form.html" import form_wrapper %}
{% block per_page_title %}
Monthly notification statuses for live services
{% endblock %}
{% block platform_admin_content %}
<h1 class="heading-large">
Monthly notification statuses for live services
</h1>
{% call form_wrapper() %}
{{ textbox(form.start_date, hint="Enter start date in format YYYY-MM-DD") }}
{{ textbox(form.end_date, hint="Enter end date in format YYYY-MM-DD") }}
{{ page_footer('Download report') }}
{% endcall %}
{% endblock %}

View File

@@ -17,4 +17,8 @@
<p>
<a target="_blank" href="{{ url_for('main.performance_platform_xlsx') }}">Download performance platform report (.xlsx)</a>
<p>
<p>
<a href="{{ url_for('main.notifications_sent_by_service') }}">Monthly notification statuses for live services</a>
<p>
{% endblock %}