{% extends 'att/report/base.html' %}

{% load i18n %}

{% block disclaimer %}
    <p style="color:red; font-size: 9px;">{% trans 'att_abnormal_report_note' %}</p>
{% endblock %}

{% 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' %}", width:120}
            ,{field:'last_name', title: "{% trans 'report_column_lastName' %}", width:80}
            ,{field:'nick_name', title: "{% trans 'report_column_nickName' %}", width:80}
            ,{field:'gender', width:80, title: "{% trans 'report_column_gender' %}", width:80}
            ,{field:'dept_code', title: "{% trans 'report_column_departmentCode' %}", width:80}
            ,{field:'dept_name', title: "{% trans 'report_column_departmentName' %}", width:120}
            ,{field:'position_code', title: "{% trans 'report_column_positionCode' %}", width:80}
            ,{field:'position_name', title: "{% trans 'report_column_positionName' %}", width:120}
            ,{field:'number_off_times', title: "{% trans 'report_column_numberOffTimes' %}"}
        ]]
        ,method: "get"
        ,url: "/att/api/abnormalReport/"
    });
{% endblock %}
