{% extends "pos/base.html" %} {% load static %} {% block title %}Settings{% endblock %} {% block heading %}Settings{% endblock %} {% block stylesheets %} {% endblock %} {% block content %} {% regroup configurations by setting_type as config_groups %}
Configuration Center

All Settings

Every setting for this business, grouped by category. Change what you need, then save.

{{ total_configurations|default:configurations|length }} setting(s)
{% csrf_token %}
{% for group in config_groups %} {% with section_key=group.list.0.category_key|default:"general" %}
{% if section_key == "pos" %} {% elif section_key == "sale" %} {% elif section_key == "purchase" %} {% elif section_key == "invoices" %} {% elif section_key == "tax_settings" %} {% elif section_key == "hotel" %} {% elif section_key == "retail" %} {% elif section_key == "barcode" %} {% elif section_key == "android_app" %} {% elif section_key == "offline_software" %} {% elif section_key == "business_worth" %} {% elif section_key == "add_or_edit" %} {% else %} {% endif %}

{{ group.list.0.category_label|default:"General" }}

{{ group.list|length }} setting{{ group.list|length|pluralize }}

{% for cfg in group.list %}
{% if cfg.is_boolean %} {% elif cfg.has_dropdown %} {% else %} {% endif %}

{{ cfg.display_name|default:cfg.name }}

{{ cfg.name }} {% if cfg.descp %}

{{ cfg.descp }}

{% elif cfg.is_text_input and cfg.dropdown_content %}

{{ cfg.dropdown_content }}

{% endif %}
{% if cfg.is_boolean %} Off On {% elif cfg.has_dropdown %} {% else %} {% endif %}
{% endfor %}
{% endwith %} {% empty %}

No configurations yet

Load the standard settings for this business, or add your first custom setting to get started.

{% endfor %}
{% for cfg in configurations %}
{% csrf_token %}
{% endfor %}
Unsaved changes
{% endblock %} {% block javascripts %} {% endblock %}