{% if current_user.is_authenticated %}
{% if g.tenant is defined and g.tenant %}{{ g.tenant.name }}{% else %}Salon POS{% endif %}
{% if current_user.role in ('tenant_admin', 'tenant_manager') %}
{% if g.location is defined and g.location %}{{ g.location.name }}{% else %}Select Location{% endif %}
{% if locations is defined %} {% for loc in locations %}
{{ loc.name }} {% if loc.is_primary %}
Primary
{% endif %}
{% endfor %} {% endif %}
{% endif %} {% if g.tenant is defined and g.tenant and g.tenant.is_demo %}
Demo Mode — Read Only
{% endif %}
{{ current_user.name if current_user.name is defined else current_user.email }}
{% if current_user.role == 'tenant_staff' %}
Logout
{% else %}
Logout
{% endif %}
{% if current_user.role != 'tenant_staff' %}
Dashboard
Appointments
POS / Checkout
Customers
Staff
Services & Products
Inventory
Gift Cards
Reconciliation
Pay Periods
Reports
{% if current_user.role == 'tenant_admin' %}
Marketing
Locations
Settings
{% endif %}
{% endif %}
{% endif %} {% with messages = get_flashed_messages(with_categories=true) %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endwith %} {% block content %}{% endblock %} {% if current_user.is_authenticated %}
{% endif %} {% block scripts %}{% endblock %}