{% extends "base.html" %} {% block content %}

Brand / System Configuration

Email Settings (used for system emails)
DeskTime Settings (integration & API key)
Biometric Integration (machine punch via API / DB)
API Configuration
Database Configuration

Payroll Deduction Proration (deductions prorated by paid days)
Proration factor: paid_days / month_days
Used when mode = all_except. CHL example: PT
Used when mode = only.
Payroll Earning Proration (earnings prorated by paid days)
Proration factor: paid_days / month_days
Productive Hours Rules (used by attendance to mark Present / Half Day / LWP)
{% if rules %} {% for r in rules %} {% endfor %} {% else %} {% endif %}
# Scope Target Required hours
{{ loop.index }} {{ r.scope_type }} {% if r.scope_type == 'company' %} All employees {% elif r.scope_type == 'department' and r.department %} Department: {{ r.department.name }} {% elif r.scope_type == 'designation' and r.designation %} Designation: {{ r.designation.title }} {% elif r.scope_type == 'employee' and r.employee %} {{ r.employee.employee_code }} - {{ r.employee.full_name }} {% else %} - {% endif %} {{ '%.2f'|format(r.required_hours) }}
No rules defined yet. Add a company default or specific rules above.
{% endblock %}