{% extends "base.html" %} {% load static %} {% load crispy_forms_tags %} {% block Style %} {% endblock Style %} {% block MainContent %}
{% if request.user.user_type == 'Branch' %}
{% csrf_token %}
Problematic Attendance Report
{{date_form.date|as_crispy_field}}
{{date_form.Work_place|as_crispy_field}}
{% endif %} {% if log_list %}

{{ company_info.name_en }}

{{ company_info.address_details }}

{{report_month}} {{report_year}}{{eid_bonus_list.created_date}}

Problematic Attendance Report {% comment %} {% if department %} {{department}} {% endif %} {% if designation %}   -   {{designation}}{% endif %}

{{year}}  -  {{month}} {% endcomment %} {% if department %}( Department : {{department}}) {% endif %} {% if designation %} (Designation : {{designation}}) {% endif %} {% if from_date %} {{from_date}} {% endif %} {% for log in log_list %} {% endfor %}
SL No Employee Employee Code Department Designation Work Place In Time Out Time
{{forloop.counter}} {{ log.employee.name_en }} {{ log.employee.employee_code }} {{ log.employee.department }} {{ log.employee.designation}} {{ log.employee.working_place}} {{log.in_time |time:'h:i a'}} {{log.out_time |time:'h:i a'}}
{% endif %} {% endblock MainContent %} {% block meassage %} {% include 'notifications/notifications.html' %} {% endblock meassage %} {% block JS %} {% endblock JS %}