{% extends "agenda/base.html" %} {% load url from future %} {% block body-class %}{{ block.super }} no-left-column{% endblock %} {% block appbar %}

Validation des actes - {{ date|date:"DATE_FORMAT" }}

Retourner à l'agenda {% if authorized_lock %}
{% csrf_token %}
{% endif %} {% endblock %} {% block beforecontent %} {% endblock %} {% block agenda-content %} {% if validation_msg %} {% endif %} {% if actes %}

Il y a {{ actes|length }} actes.

{% for acte, last_status, last_status_name in actes %}

{{ acte.time|time:"H:i" }} - {{ acte.patient.last_name }} {{ acte.patient.first_name }} {% if acte.patient.paper_id %} {{ acte.patient.paper_id }} {% endif %} {{ acte.act_type }}

{% if acte.doctors %}{% for doctor in acte.doctors.all %}{{ doctor.last_name }} {{ doctor.first_name }} {% endfor %}{% endif %}

{% if acte.description %} {% endif%}

{% if last_status %}{{ last_status_name }}, le {{ last_status.created }}. {% else %} Non pointé. {% endif %} {% if not acte.validation_locked and not acte.is_billed %}
{% csrf_token %}
{% else %} {% if acte.is_billed %}Acte facturé {% else%} {% if acte.is_billable %}Facturable{% else %}Non facturable{% endif %}. {% if acte.is_lost %}Acte perdu.{% endif %} {% endif %} {% endif %}
{% endfor %}
{% else %}

Il n'y a pas d'acte à valider le {{ date|date:"DATE_FORMAT" }}.

{% endif %} {% endblock %} {% block dialogs %}
{% csrf_token %}
{% endblock %} {% block page-end %} {% endblock %}