Projet

Général

Profil

« Précédent | Suivant » 

Révision 748e8d64

Ajouté par Serghei Mihai (congés, retour 15/05) il y a presque 10 ans

dossiers: quotations table refactored

Closes #5013

Voir les différences:

calebasse/dossiers/templates/dossiers/quotations.html
52 52
        <th colspan="2">N° dossier
53 53
        </th><th rowspan="2">Nom</th>
54 54
        <th rowspan="2">Prénom</th>
55
        <th rowspan="2">Date de naissance</th>
55 56
        <th rowspan="2">État du dossier</th>
56
        <th rowspan="2">Mises 1</th>
57
        <th rowspan="2">Mises 2</th>
58
        <th rowspan="2">Mises 3</th>
57
        <th rowspan="2">Date du prochain rendez-vou</th>
58
        <th rowspan="2">Date du dernier rendez-vous</th>
59
        <th rowspan="2">Mises</th>
59 60
        <th rowspan="2">ANAP</th>
60 61
      </tr>
61 62
      <tr>
......
71 72
        <td>{{ patient_record.object.id }}</td>
72 73
        <td><span class="lastname">{{ patient_record.object.last_name }}</span></td>
73 74
        <td>{{ patient_record.object.first_name }}</td>
75
        <td>{{ patient_record.object.birthdate|date:"SHORT_DATE_FORMAT" }}</td>
74 76
        <td class="{{ patient_record.state_class }}">{{ patient_record.state }}</td>
75
        <td>{% for mise in patient_record.object.mises_1.all %}{{ mise }}<br/>{% endfor %}</td>
76
        <td>{% for mise in patient_record.object.mises_2.all %}{{ mise }}<br/>{% endfor %}</td>
77
        <td>{% for mise in patient_record.object.mises_3.all %}{{ mise }}<br/>{% endfor %}</td>
77
        <td>{% if patient_record.next_rdv_date %}
78
          {{ patient_record.next_rdv_date|date:"DATETIME_FORMAT" }}
79
          {% endif %}
80
        </td>
81
        <td>{% if patient_record.last_rdv_date %}
82
          {{ patient_record.last_rdv_date|date:"DATETIME_FORMAT" }}
83
          {% endif %}</td>
84
        <td>{% if patient_record.mises %}<span class="icon-ok"></span>{% endif %}</td>
78 85
        <td>{% if patient_record.anap %}<span class="icon-ok"></span>{% endif %}</td>
79 86
      </tr>
80 87
      {% endfor %}

Formats disponibles : Unified diff