{% extends 'base.html' %}{% from '_m.html' import f %}{% block title %}{{ 'New employee' if new else 'Edit employee' }}{% endblock %}{% block content %}

{{ 'Add employee' if new else 'Edit ' + e.full_name }}

{% if not new %}{% endif %}

Profile photo

{% if e.photo %}{% else %}{% endif %}
Square photos look best. It is cropped and resized automatically. The photo appears in the team hierarchy, directory and org chart.

Personal & job details

{{ f('Full name','full_name',e.full_name,'text',True) }}{% if new %}{{ f('Employee code (auto if empty)','code',e.code) }}{% else %}{% endif %} {{ f('Work email','email',e.email,'email') }}{{ f('Phone','phone',e.phone) }} {{ f('Department','department_id',e.department_id,opts=dopts) }}{{ f('Designation / job title','designation',e.designation) }}
{{ f('Reports to (direct manager)','manager_id',e.manager_id,opts=mopts) }}{{ f('Join date','join_date',e.join_date,'date') }} {{ f('Status','status',e.status,opts=[('Active','Active'),('Inactive','Inactive')]) }}{{ f('Employment type','emp_type',e.emp_type,opts=[('Full-time','Full-time'),('Part-time','Part-time'),('Contract','Contract'),('Intern','Intern')]) }} {{ f('Shift start','shift_start',e.shift_start,'time') }}{{ f('Shift end','shift_end',e.shift_end,'time') }} {{ f('Date of birth','dob',e.dob,'date') }}{{ f('Address','address',e.address) }}{{ f('Emergency contact','emergency',e.emergency) }}{{ f('Bank details (for payroll)','bank',e.bank) }}

Salary structure (monthly, {{cur}})

{{ f('Basic salary','basic',e.basic,'number',step='0.01') }}{{ f('House allowance','house',e.house,'number',step='0.01') }}{{ f('Medical allowance','medical',e.medical,'number',step='0.01') }} {{ f('Transport allowance','transport',e.transport,'number',step='0.01') }}{{ f('Other allowance','other',e.other,'number',step='0.01') }}{{ f('Fixed deduction (loan, etc.)','fixed_ded',e.fixed_ded,'number',step='0.01') }}

Overtime & productivity incentive

{{ f('Daily target (units)','daily_target',e.daily_target,'number',step='0.1') }}{{ f('Incentive per unit above target','incentive_rate',e.incentive_rate,'number',step='0.01') }}
{% if new %}

Login access

{% endif %}
Cancel
{% endblock %}