{% extends 'base.html' %}{% from '_m.html' import f %}{% block title %}Settings{% endblock %}{% block content %}

Settings

Company rules used for attendance and payroll

{{ f('Company name','company',cfg.company) }}{{ f('Timezone (e.g. Asia/Karachi, America/Chicago)','timezone',cfg.timezone) }}{{ f('Currency label','currency',cfg.currency) }} {{ f('Grace period (minutes)','grace',cfg.grace,'number') }}{{ f('Lates that equal 1 day deduction','late_per_day',cfg.late_per_day,'number') }}{{ f('Half-day if worked less than (hours)','half_day_hours',cfg.half_day_hours,'number',step='0.5') }} {{ f('Income tax % (flat, on gross)','tax_pct',cfg.tax_pct,'number',step='0.01') }}{{ f('Provident fund % (of basic)','pf_pct',cfg.pf_pct,'number',step='0.01') }}{{ f('Overtime pay multiplier (e.g. 1.5)','ot_mult',cfg.ot_mult,'number',step='0.05') }}{{ f('Fingerprint check-in','bio_mode',cfg.bio_mode,opts=[('optional','Optional (staff may check in normally)'),('required','Required on devices that support it')]) }}
{% for i,d in [(0,'Mon'),(1,'Tue'),(2,'Wed'),(3,'Thu'),(4,'Fri'),(5,'Sat'),(6,'Sun')] %}{% endfor %}

Departments

{% for d in depts %}{{d.name}} {% endfor %}

Leave types

{% for t in types %}{% endfor %}
{{t.name}}{{t.days}} days{{ 'Paid' if t.paid else 'Unpaid' }}
{% endblock %}