{% if is_count_only == 1 : %} {% set col_span_1 = 3 %} {% if group_by_datewise == 1 and group_by_role == 1 %} {% set col_span_1= 4 %} {% endif %}
{% 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 %}
logo
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 : %} {% set col_span_1 = 3 %} {% if column_name_for_tbody :%} {% set col_span_1 = len(column_name_for_tbody) %} {% endif %}
{% 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 "signed_on" in col_na : %} {% set scan_time = row[col_na].strftime("%d-%m-%Y %H:%M:%S") %} {% else : %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %}
logo
S.No{{ col_name.replace("_" , " ").upper() or '' }}
{{loop.index}} {{ scan_time or ''}} {{row[col_na] or ''}}
Total Count {{signin_count or "0"}}
{% endif %}