{% load i18n %} {% load attendancefilters %} {% include "filter_tags.html" %}
{% trans "Employee" %} | {% for day in current_month_dates_list %}{{ day.day }} | {% endfor %}
---|---|
{{ employee_data.employee }} | {% for date in current_month_dates_list %} {% with work_record=employee_data.work_record|get_item:forloop.counter0 %}{% if work_record == 'EW' and date <= current_date and not date in leave_dates %} EW {% elif work_record %} {% endif %} | {% endwith %} {% endfor %}