{% extends "base.html" %} {% block title %}Validation DIM{% endblock %} {% block sidebar %} {% for group_name, items in groups.items() %}
{{ group_name | format_dossier_name }}
{% for item in items %} {% if 'fusionne' in item.name %} ★ Fusionné {% else %} {{ item.name | format_doc_name }} {% endif %} {% endfor %} {% endfor %} {% endblock %} {% block content %}

Validation DIM

Voir les métriques
Progression {{ valides }} / {{ total }} validés {% if en_cours > 0 %} {{ en_cours }} en cours {% endif %}
{% set pct_valide = (valides / total * 100) if total > 0 else 0 %} {% set pct_encours = (en_cours / total * 100) if total > 0 else 0 %}
{% for item in items %} {% endfor %}
# Dossier DP Conf. DP DAS CPAM Statut Validateur
{{ loop.index }} {{ item.group_name }} {{ item.dp_code or '—' }} {% if item.dp_texte %}
{{ item.dp_texte[:50] }}{% if item.dp_texte|length > 50 %}…{% endif %} {% endif %}
{{ item.dp_confidence | confidence_badge }} {{ item.nb_das }} {% if item.has_cpam %} CPAM {% endif %} {% if item.statut == 'valide' %} Validé {% elif item.statut == 'en_cours' %} En cours {% else %} Non commencé {% endif %} {{ item.validateur }}
{% if not items %}

Aucun dossier sélectionné pour validation.

Lancez python scripts/select_validation_dossiers.py pour sélectionner les dossiers.

{% endif %} {% endblock %} {% block scripts %} {% endblock %}