dossiers: remove patient firstname and lastname and show comment just
one time
This commit is contained in:
parent
80539af2be
commit
d6645027e2
|
@ -2,7 +2,6 @@
|
|||
<form method="post" action="tab3" id="policyholder-form" class="patientrecordform">{% csrf_token %}
|
||||
|
||||
<div class="contact patient">
|
||||
<h4>{{ object.first_name }} <span class="lastname">{{ object.last_name }}</span> (Patient)</h4>
|
||||
{% if nb_place_of_lifes == 1 %}
|
||||
<p>Un lieu de vie unique est indiqué</p>
|
||||
{% elif nb_place_of_lifes > 1 %}
|
||||
|
|
|
@ -19,21 +19,24 @@
|
|||
{{ contact.email }}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if contact.contact_comment and contact.id != object.id %}
|
||||
<li>
|
||||
<label>Commentaire :</label>
|
||||
{{ contact.contact_comment }}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if contact.job %}
|
||||
<li>
|
||||
<label>Profession :</label>
|
||||
{{ contact.job }}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if contact.contact_comment %}
|
||||
<li>
|
||||
<label>Commentaire :</label>
|
||||
{{ contact.contact_comment }}
|
||||
</li>
|
||||
{% endif %}
|
||||
<span class="social-security-contact">
|
||||
<label class="social-security-label">Infos d'assuré [+]</label>
|
||||
<ul>
|
||||
{% if contact.id == object.id %}
|
||||
{{ object.first_name }} <span class="lastname">{{ object.last_name }}</span>
|
||||
{% endif %}
|
||||
{% if contact.social_security_id %}
|
||||
<li><label>Numéro d'assuré social :</label>
|
||||
{{ contact.social_security_id }} {{ contact.get_control_key }}</li>
|
||||
|
|
Reference in New Issue