2022-03-07 14:30:11 +00:00
|
|
|
{% extends "views/platform-admin/_base_template.html" %}
|
|
|
|
|
{% from "components/form.html" import form_wrapper %}
|
|
|
|
|
{% from "components/table.html" import mapping_table, row, text_field %}
|
|
|
|
|
|
|
|
|
|
{% block per_page_title %}
|
|
|
|
|
Daily volumes report
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block platform_admin_content %}
|
|
|
|
|
|
2023-06-06 15:28:24 -04:00
|
|
|
<h1 class="font-body-2xl margin-bottom-3">
|
2022-03-07 14:30:11 +00:00
|
|
|
Daily volumes Report
|
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
|
|
{% call form_wrapper() %}
|
|
|
|
|
{{ form.start_date(param_extensions={"hint": {"text": "Use the format YYYY-MM-DD"}}) }}
|
|
|
|
|
{{ form.end_date(param_extensions={"hint": {"text": "Use the format YYYY-MM-DD"}}) }}
|
2022-05-19 12:14:20 +01:00
|
|
|
{{ page_footer('Download report (CSV)') }}
|
2022-03-07 14:30:11 +00:00
|
|
|
{% endcall %}
|
|
|
|
|
|
2023-06-06 15:28:24 -04:00
|
|
|
<h2 class="font-body-lg">
|
2022-03-07 14:30:11 +00:00
|
|
|
Data included in the report
|
|
|
|
|
</h2>
|
|
|
|
|
<div class="bottom-gutter-3-2">
|
|
|
|
|
{% call mapping_table(
|
|
|
|
|
caption='Descriptions of daily volumes data',
|
|
|
|
|
field_headings=['Name', 'Description'],
|
|
|
|
|
field_headings_visible=True,
|
|
|
|
|
caption_visible=False
|
|
|
|
|
) %}
|
2022-04-11 14:38:20 +01:00
|
|
|
{% for column_heading, description in [
|
2022-03-07 14:30:11 +00:00
|
|
|
('day', 'The whole business day in BST.'),
|
|
|
|
|
('sms totals', 'The number of text messages sent'),
|
2022-03-09 15:02:52 +00:00
|
|
|
('sms fragments', 'The number of text message fragments sent times the rate multiplier'),
|
2022-03-07 14:30:11 +00:00
|
|
|
('sms chargeable units', 'The number of text message fragments sent'),
|
|
|
|
|
('email totals', 'The number of emails sent'),
|
|
|
|
|
] %}
|
|
|
|
|
{% call row() %}
|
2022-04-11 14:38:20 +01:00
|
|
|
{{ text_field(column_heading) }}
|
|
|
|
|
{{ text_field(description) }}
|
2022-03-07 14:30:11 +00:00
|
|
|
{% endcall %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% endcall %}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|