Revision 48a85f96
Added by Jérôme Schneider over 11 years ago
calebasse/actes/templates/actes/act_update.html | ||
---|---|---|
1 | 1 |
{% load widget_tweaks %} |
2 | 2 |
<form action="{{ request.get_full_path}}" method="post"> |
3 | 3 |
{% csrf_token %} |
4 |
<p>1234 Bob Leponge (Traitement)</p> |
|
5 |
<p><select><option>(11) Ortophonie</option></select></p> |
|
6 |
<p>8 août 2012 - 17:15 - 45 minutes</p> |
|
4 |
<p>{{ object.patient.id }} {{ object.patient }} ({{ object.get_state }})</p> |
|
5 |
<p>{{ form.act_type }}</p> |
|
6 |
<p>{{ object.date }} - {{ object.time }} - {{ object.duration }} minutes |
|
7 |
{% if object.is_lost %}<button class="flat">Acte perdu</button>{% endif %}</p> |
|
8 |
{{ form.errors }} |
|
7 | 9 |
|
8 | 10 |
<table> |
9 | 11 |
<tr><td width="50%"> |
10 | 12 |
<h4>Intervenants</h4> |
11 | 13 |
<div id="intervenants"> |
12 |
<ul> |
|
13 |
<li><input type="checkbox" value="Bob Léponge" checked="checked">Bob Léponge</input></li> |
|
14 |
<li><input type="checkbox" value="Sandy Kilo" checked="checked">Sandy Kilo</input></li> |
|
15 |
</ul> |
|
16 |
<a href="#">Ajouter</a><br/> |
|
17 |
<a href="#">Tout le monde</a> |
|
14 |
{{ form.doctors.errors }} |
|
15 |
{{ form.doctors }} |
|
18 | 16 |
</div> |
19 | 17 |
</td> |
20 | 18 |
|
21 | 19 |
<td width="50%"> |
22 | 20 |
|
23 | 21 |
<ul> |
24 |
<li>Rendez-vous pris le 5 juillet 2012 à 10:36</li> |
|
22 |
{% for state in object.actvalidationstate_set.all %} |
|
23 |
<li>{{ state }} le {{ state.created }}</li> |
|
24 |
{% endfor %} |
|
25 |
<!-- <li>Rendez-vous pris le 5 juillet 2012 à 10:36</li> |
|
25 | 26 |
<li>Acte validé le 10 août 2012 à 9h10</li> |
26 |
<li>En cours de facturation (123) <button class="flat">Acte perdu</button></li> |
|
27 |
<li>En cours de facturation (123) <button class="flat">Acte perdu</button></li> -->
|
|
27 | 28 |
</ul> |
28 | 29 |
</td> |
29 | 30 |
</tr> |
31 |
<tr> |
|
32 |
</tr> |
|
30 | 33 |
</table> |
31 | 34 |
|
35 |
{{ form.is_lost }} {{ form.is_lost.label }}<br/> |
|
36 |
{{ form.pause }} {{ form.pause.label }}<br/> |
|
37 |
{{ form.switch_billable }} {{ form.switch_billable.label }}</br> |
|
38 |
{{ form.valide }} {{ form.valide.label }} |
|
32 | 39 |
<br/> |
33 | 40 |
<br/> |
34 |
<textarea cols="50">Bla bla bla</textarea>
|
|
41 |
{{ form.comment }}
|
|
35 | 42 |
</form> |
36 | 43 |
|
Also available in: Unified diff
actes: suppport act update (fix #2092)