{% 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
Example: https://example.com/api/punches
Example: ?date={date} or full query string/body with placeholders.
Path to list of punches, e.g. data.records or leave blank if top level is list.
%Y-%m-%d %H:%M:%S, etc.
Database Configuration
You can use placeholders like {date} that we’ll fill in when running the sync.
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 %}