Project

General

Profile

Download (3.35 KB) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / dossiers / templates / dossiers / patientrecord_tab7_socialisation.html @ 78bae9a3

1
<div id="tabs-7">
2
  <div class="frame">
3
    <h3>Périodes de socialisation</h3>
4
    <p><button id="new-socialisation-duration-btn">Nouvelle période de socialisation</button></p>
5
    {% for duration in object.socialisation_durations.all %}
6
    <div class="subframe">
7
      Arrivée le <strong>{{ duration.start_date }}</strong> dans {% if duration.school %}l'établissement <strong>{{ duration.school }}</strong>{% else %}un établissement non renseigné{% endif %}{% if duration.level %} (en {{ duration.level }}){% endif %}
8
      <ul>
9
        {% if duration.school.address %}
10
        <li><label>Adresse établissement : </label>{{ duration.school.address }}, {{ duration.school.zip_code }} {{ duration.school.city }}</span></li>
11
        {% endif %}
12
        {% if duration.school.phone %}
13
        <li><span class="icon-phone">{{ duration.school.phone }}</span></li>
14
        {% endif %}
15
      </ul>
16
      <div class="buttons">
17
        <button type="button" data-id="{{ duration.id }}" class="del-duration icon-minus" title="Supprimer"></button>
18
        <button type="button" data-id="{{ duration.id }}" class="update-duration-btn icon-edit" title="Modifier"></button>
19
      </div>
20
      <div>
21
        <ul>
22
          {% if duration.end_date %}<li><label>Date de départ</label> : {{ duration.end_date }}</li>{% endif %}
23
          {% if duration.comment %}<li><label>Commentaire</label> : {{ duration.comment }}</li>{% endif %}
24
        </ul>
25
      </div>
26
    </div>
27
    {% endfor %}
28
  </div>
29

    
30
  <div class="frame">
31
    <h3>Demandes MDPH</h3>
32
    <p><button id="new-mdph-request-btn">Nouvelle demande MDPH</button></p>
33
    {% for request in object.mdph_requests.all %}
34
    <div class="subframe">
35
      Demande le <strong>{{ request.start_date }}</strong> à la MDPH <strong>{{ request.mdph }}</strong>
36
      <div class="buttons">
37
        <button type="button" data-id="{{ request.id }}" class="del-mdph-request icon-minus" title="Supprimer"></button>
38
        <button type="button" data-id="{{ request.id }}" class="update-mdph-request-btn icon-edit" title="Modifier"></button>
39
      </div>
40
      <div>
41
        <ul>
42
          {% if request.comment %}<li><label>Commentaire</label> : {{ request.comment }}</li>{% endif %}
43
        </ul>
44
      </div>
45
    </div>
46
    {% endfor %}
47
  </div>
48

    
49
  <div class="frame">
50
    <h3>Réponses MDPH</h3>
51
    <p><button id="new-mdph-response-btn">Nouvelle réponse MDPH</button></p>
52
    {% for response in object.mdph_responses.all %}
53
    <div class="subframe">
54
      Du <strong>{{ response.start_date }}</strong> au <strong>{{ response.end_date }}</strong> à la MDPH <strong>{{ response.mdph }}</strong>
55
      <div class="buttons">
56
        <button type="button" data-id="{{ response.id }}" class="del-mdph-response icon-minus" title="Supprimer"></button>
57
        <button type="button" data-id="{{ response.id }}" class="update-mdph-response-btn icon-edit" title="Modifier"></button>
58
      </div>
59
      <div>
60
        <ul>
61
          {% if response.comment %}<li><label>Commentaire</label> : {{ response.comment }}</li>{% endif %}
62
          {% if response.type_aide %}<li><label>Type d'aide</label> : {{ response.type_aide }}</li>{% endif %}
63
          {% if response.name %}<li><label>Nom</label> : {{ response.name }}</li>{% endif %}
64
          {% if response.rate %}<li><label>Taux</label> : {{ response.rate }}</li>{% endif %}
65
        </ul>
66
      </div>
67
    </div>
68
    {% endfor %}
69
  </div>
70
</div>
(21-21/29)