{% include "_pwa_head.html" %}

Settings

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %}
Add New Dropdown Option
Use lowercase + underscore (no spaces)

Existing Options

{% if grouped %} {% for type, items in grouped.items() | sort(attribute='0') %}
{% for o in items %} {% endfor %}
ID Value Action
{{ o.id }} {{ o.value }}
{% endfor %} {% else %}

No dropdown options have been added yet.

{% endif %}

Branch Management

{% if branch_print_profiles %} {% for profile in branch_print_profiles %} {% endfor %} {% else %} {% endif %}
ID Branch Company Address Mobiles Action
{{ profile.id }} {{ profile.branch_name }} {{ profile.company_name }} {{ profile.address_line1 or '-' }} {% if profile.address_line2 %}
{{ profile.address_line2 }}{% endif %} {% if profile.gst_no %}
GST: {{ profile.gst_no }}{% endif %}
{{ profile.mobile1 or '-' }} {% if profile.mobile2 %}
{{ profile.mobile2 }}{% endif %} {% if profile.mobile3 %}
{{ profile.mobile3 }}{% endif %}
No branch profiles found

User Management

{% if legacy_password_users %} {% endif %}

Required: Username, Password, Role. Passwords are hashed on import.
{% if users %} {% for u in users %} {% if u.role != 'super_admin' %} {% endif %} {% endfor %} {% else %} {% endif %}
ID Username Role Action
{{ u.id }} {{ u.username|upper }} {% if u.requires_password_reset %} Reset required {% endif %} {{ u.role }} {% if u.role == 'super_admin' %} Locked {% else %}
{% endif %}
No users found
{% for b in branch_list %} {% endfor %}

Supported files: .xlsx or .csv. Required column headers: Username, Branch.
{% if user_branches %} {% for ub in user_branches %} {% endfor %} {% else %} {% endif %}
ID Username Branch Action
{{ ub.id }} {{ ub.username|upper }} {{ ub.branch_name }}
No user-branch mappings found