{% if not hide_nav %}
๐งพ Office Expenses
{% set unread_count = g.notifications | selectattr('is_read', 'equalto', False) | list | length %}
{{ unread_count }}
Notifications
Mark all as Read
{% if g.notifications %} {% for note in g.notifications %}
{{ note.message }}
{{ note.created_at.strftime('%d %b %I:%M %p') }}
{% endfor %} {% else %}
No notifications
{% endif %}
Logout
๐ Office Portal
{% if current_user.role == 'admin' %}
Admin User
{% elif current_user.role == 'operator' %}
Operator
{% elif current_user.role == 'accounts' %}
Auditor
{% endif %}
Dashboard
{% if current_user.role == 'admin' %}
Create Company
Create Temp User
Manage Companies
Manage Users
Manage CA
{% endif %}
{% endif %}
{% block content %}{% endblock %}