{% extends "base.html" %} {% block title %}Administration – AAZ Accounting{% endblock %} {% block page_title %}Administration{% endblock %} {% block content %}
Utilisateurs
{% for u in users %} {% endfor %}
NomEmailRôleStatutDernière connexion
{{ u.full_name }} {{ u.email }} {{ 'Admin' if u.is_admin else 'Expert-compta' }} {{ 'Actif' if u.is_active else 'Inactif' }} {{ u.last_login_at.strftime('%d/%m/%Y %H:%M') if u.last_login_at else '–' }}
Créer un utilisateur
Règles fournisseurs ({{ rules|length }})
{% for r in rules %} {% endfor %}
Mot-cléCompteTVASourceRécurrent
{{ r.keyword }} {{ r.account_number }} {{ r.tva_rate }}{% if r.tva_rate not in ('formation','0') %}%{% endif %} {{ r.source }} {% if r.is_recurring %}{{ r.recurrence_month_count }}m{% endif %}
Journal d'audit (50 dernières actions)
{% for al in audit_entries %} {% endfor %}
Date/heureUtilisateurActionIPDétails
{{ al.created_at.strftime('%d/%m/%Y %H:%M:%S') }} {{ al.user.email if al.user else '–' }} {{ al.action }} {{ al.ip_address or '–' }} {{ al.details | tojson if al.details else '' }}
{% endblock %} {% block extra_js %} {% endblock %}