{{conf_data.conf_name}} - {{session_name | upper}} DATA
{% if is_count_only == 1 : %}
{% if group_by_datewise == 1 and group_by_role == 1 %} {% elif group_by_datewise == 1 and group_by_role == 0 %} {% elif group_by_datewise == 0 and group_by_role == 1 %} {% else %} {% endif %} {% if reports : %} {% for row in reports %} {% if group_by_datewise == 1 and group_by_role == 1 %} {% elif group_by_datewise == 1 and group_by_role == 0 %} {% elif group_by_datewise == 0 and group_by_role == 1 %} {% else %} {% endif %} {% endfor %} {% else : %} {% endif %}
S.NoDate RoleDateRoleTitleCount
{{loop.index}}{{row.date_1}} {{row.role}}{{row.date_1}}{{row.role}}Signin Count{{row.count_1}}
Record not available
Total Count {{signin_count or "0"}}
{% else : %}
{% if column_name %} {% for col_name in column_name : %} {% endfor %} {% endif %} {% if reports : %} {% for row in reports %} {% if column_name_for_tbody %} {% for col_na in column_name_for_tbody : %} {% if "created_at" in col_na : %} {% set scan_time = row[col_na].strftime("%d-%m-%Y %H:%M:%S") %} {% endif %} {% if "role" in col_na : %} {% set role_1 = row[col_na] %} {% endif %} {% if col_na not in ["created_at","role"] : %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %} {% endif %}
S.No{{ col_name.replace("_" , " ").upper() or '' }}
{{loop.index}} {{ scan_time or ''}} {{ role_1 or 'Reference'}} {{row[col_na] or ''}}
Total Count {{signin_count or "0"}}