{% extends 'att/report/base.html' %}
{% load i18n %}
{% block opts_modify %}
$.extend(opts, {
cols: [[
{field:'emp_code', width:120, title: "{% trans 'report_column_empCode' %}", sort: true}
,{field:'first_name', title: "{% trans 'report_column_firstName' %}"}
,{field:'last_name', title: "{% trans 'report_column_lastName' %}"}
,{field:'nick_name', title: "{% trans 'report_column_nickName' %}"}
,{field:'gender', width:80, title: "{% trans 'report_column_gender' %}"}
,{field:'dept_code', title: "{% trans 'report_column_departmentCode' %}"}
,{field:'dept_name', width:140, title: "{% trans 'report_column_departmentName' %}"}
,{field:'position_code', title: "{% trans 'report_column_positionCode' %}"}
,{field:'position_name', title: "{% trans 'report_column_positionName' %}"}
,{field:'att_date', title: "{% trans 'report_column_attendanceDate' %}", sort: true}
,{field:'weekday', width:80, title: "{% trans 'report_column_attendanceWeekday' %}", width:100}
,{field:'check_in', title: "{% trans 'report_column_firstIn' %}"}
,{field:'check_out', title: "{% trans 'report_column_lastOut' %}"}
,{field:'total_time', title: "{% trans 'report_column_totalDuration' %}"}
]]
,method: "get"
,url: "/att/api/firstInLastOutReport/"
});
{% endblock %}