{{conf_data.conf_name}} - BADGE DISBURSAL REPORT
Total count : {{signin_count or "0"}}
{% if is_count_only == 1 : %}
Badge Colltected Reports Chart
S.No |
{% if group_by_datewise == 1 and group_by_role == 1 %}
Date |
Role |
{% elif group_by_datewise == 1 and group_by_role == 0 %}
Date |
{% elif group_by_datewise == 0 and group_by_role == 1 %}
Role |
{% else %}
Title |
{% endif %}
Count |
{% if reports : %}
{% for row in reports %}
{{loop.index}} |
{% if group_by_datewise == 1 and group_by_role == 1 %}
{{row.date_1}} |
{{row.role}} |
{% elif group_by_datewise == 1 and group_by_role == 0 %}
{{row.date_1}} |
{% elif group_by_datewise == 0 and group_by_role == 1 %}
{{row.role}} |
{% else %}
Signin Count |
{% endif %}
{{row.count_1}} |
{% endfor %}
{% else : %}
Record not available |
{% endif %}
{% else : %}
S.No |
{% if column_name %}
{% for col_name in column_name : %}
{{ col_name.replace("_" , " ").upper() or '' }} |
{% endfor %}
{% endif %}
{% if reports : %}
{% for row in reports %}
{{loop.index}} |
{% 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") %}
{{ scan_time or ''}} |
{% else : %}
{{row[col_na] or ''}} |
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% endif %}