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

Component Alias Mapping

Back to Consolidated View
What is this?
Map system-wide logical keys like basic, hra, pf to actual salary heads. These mappings are used in consolidated salary, Excel downloads, PF calculation, and disbursement sheet.
Add / Update Mapping
{{ csrf_token() if csrf_token is defined }}
This key is used in code & formulas. One mapping per logical key.
Choose which category the mapped head belongs to.
This must match the exact name defined in the head master.
Existing Mappings {{ existing_aliases|length }} configured
{% if existing_aliases %}
{% for alias in existing_aliases %} {% endfor %}
# Logical Key Head Type Head Name Actions
{{ loop.index }} {{ alias.logical_key }} {% if alias.head_type == 'earning' %} Earning {% elif alias.head_type == 'deduction' %} Deduction {% else %} CTC {% endif %} {{ alias.head_name }}
{% else %}
No mappings configured yet. Use the form on the left to create the first mapping.
{% endif %}
{% endblock %}