{% load static %} {% block title %}rendez vous{% endblock %} {% load bootstrap5 %} {% bootstrap_css %} {% bootstrap_javascript %}
Liste des Rendez-vous
{% for appointment in appointments %} {% endfor %}
No. Patient Date du rendez vous Heure Motif Statut Actions
{{ forloop.counter }} {% comment %} Photo de profil {% endcomment %} {{ appointment.patient.get_full_name }} {{ appointment.date }} {{ appointment.time }} {{ appointment.motif }} {{ appointment.status }}
visibility {% comment %} visibility {% endcomment %} {% if appointment.status == 'accepted' and appointment.date|date:"Y-m-d" > today|date:"Y-m-d" %} close {% endif %} {% if appointment.status == 'rejected' and appointment.date|date:"Y-m-d" > today|date:"Y-m-d" %} done_all {% endif %} {% if appointment.status == 'pending' and appointment.date|date:"Y-m-d" > today|date:"Y-m-d" %} done_all close {% endif %} {% if appointment.status == 'En attente' and appointment.date|date:"Y-m-d" > today|date:"Y-m-d" %} done_all close {% endif %} cached person_pin_circle
{% comment %} {% endcomment %} {% comment %} {% endcomment %}