{% for itm in report_list %} {% if itm.header %} {% include 'report-table-header.html' %} {% endif %} {% if show_fill_warning %} {% endif %} {% if itm.dafe == 'SUBTOTAL' %}
{% if group_type == 'hour'%}Group By Hour -- {{ itm.date_rec }} {{ itm.hour|floatformat }} {% elif group_type == 'day' %}Group By Day -- {{ itm.date_rec }} {% elif group_type == 'week' %}Group By Week -- {{ itm.year|floatformat }} {{ itm.week|floatformat }} {% elif group_type == 'month' %}Group By Month -- {{ itm.month_display }} {% elif group_type == 'year' %}Group By Year -- {{ itm.year|floatformat }}{% endif %}
{{ itm.dafe }} {{ itm.rx_card_count }} {{ itm.ppk_card_count }} {{ itm.total_cards|floatformat }} ({{ itm.total_pct|floatformat:"-2" }}%) {{ itm.attempt_count }} {{ itm.pack_error_count|floatformat }} ({{ itm.pack_error_pct|floatformat:"-2" }}%) {{ itm.error_count }} ({{ itm.error_pct|floatformat:"-2" }}%){{ itm.warn_count }} ({{ itm.warn_pct|floatformat:"-2" }}%){{ itm.ran_empty_count|floatformat }} ({{ itm.ran_empty_pct|floatformat:"-2" }}%) {{ itm.other_count|floatformat }} ({{ itm.other_pct|floatformat:"-2" }}%) {{ itm.system_issue_count|floatformat }} ({{ itm.system_issue_pct|floatformat:"-2" }}%) {{ itm.undetected_count }} ({{ itm.undetected_pct|floatformat:"-2" }}%)
{% endif %} {% endfor %}