| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/erp/employee/templates/ |
Upload File : |
{% load i18n %} {% load static %}
<div class="oh-modal__dialog-header">
<h2 class="oh-modal__dialog-title" id="employeeExportLavel">
{% trans "Export Employees" %}
</h2>
<button class="oh-modal__close" aria-label="Close">
<ion-icon name="close-outline"></ion-icon>
</button>
<div class="oh-modal__dialog-body p-0 pt-2 pb-4" id="employeeExportModalBody">
<form action="{%url 'work-info-export' %}" method="get" class="oh-profile-section"
onsubmit="event.stopPropagation();$(this).parents().find('.oh-modal--show').last().toggleClass('oh-modal--show');"
id="employeeExportForm">
{% csrf_token %}
<div class="oh-dropdown__filter-body">
<div class="oh-accordion">
<div class="oh-accordion-header">{% trans "Excel columns" %}</div>
<div class="oh-accordion-body">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-6">
<div class="oh-input-group">
<label class="oh-label">
<input type="checkbox" id="select-all-fields" /> {% trans "Select All" %}
</label>
</div>
</div>
</div>
<div class="row">
{% for field in export_form.selected_fields %}
<div class="col-sm-12 col-md-12 col-lg-4">
<div class="oh-input-group">
<label class="oh-label"> {{ field }} </label>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<div class="oh-accordion">
<div class="oh-accordion-header">{% trans "Employee" %}</div>
<div class="oh-accordion-body">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-6">
<div class="oh-input-group">
<label class="oh-label" for="{{export_filter.form.country.id_for_label}}">{% trans "Country" %}</label>
{{export_filter.form.country}}
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-6">
<div class="oh-input-group">
<label class="oh-label" for="{{export_filter.form.gender.id_for_label}}">{% trans "Gender" %}</label>
{{export_filter.form.gender}}
</div>
</div>
</div>
</div>
</div>
<div class="oh-accordion">
<div class="oh-accordion-header">{% trans "Work Info" %}</div>
<div class="oh-accordion-body">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-6">
<div class="oh-input-group">
<label class="oh-label"
for="{{export_filter.form.employee_work_info__company_id.id_for_label}}">{% trans "Company" %}</label>
{{export_filter.form.employee_work_info__company_id}}
</div>
<div class="oh-input-group">
<label class="oh-label"
for="{{export_filter.form.employee_work_info__department_id.id_for_label}}">{% trans "Department" %}</label>
{{export_filter.form.employee_work_info__department_id}}
</div>
<div class="oh-input-group">
<label class="oh-label"
for="{{export_filter.form.employee_work_info__shift_id.id_for_label}}">{% trans "Shift" %}</label>
{{export_filter.form.employee_work_info__shift_id}}
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-6">
<div class="oh-input-group">
<label class="oh-label"
for="{{export_filter.form.employee_work_info__reporting_manager_id.id_for_label}}">{% trans "Reporting Manager" %}</label>
{{export_filter.form.employee_work_info__reporting_manager_id}}
</div>
<div class="oh-input-group">
<label class="oh-label"
for="{{export_filter.form.employee_work_info__job_position_id.id_for_label}}">{% trans "Job Position" %}</label>
{{export_filter.form.employee_work_info__job_position_id}}
</div>
<div class="oh-input-group">
<label class="oh-label"
for="{{export_filter.form.employee_work_info__work_type_id.id_for_label}}">{% trans "Work Type" %}</label>
{{export_filter.form.employee_work_info__work_type_id}}
</div>
</div>
</div>
</div>
</div>
</div>
<div class="oh-modal__dialog-footer p-0 pt-4">
<button type="submit" class="oh-btn oh-btn--secondary oh-btn--shadow">
{% trans "Export" %}
</button>
</div>
</form>
</div>
</div>
<script src='{% static "/base/filter.js" %}'></script>