summaryrefslogtreecommitdiffstats
path: root/calebasse/facturation/templates/facturation/detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'calebasse/facturation/templates/facturation/detail.html')
-rw-r--r--calebasse/facturation/templates/facturation/detail.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/calebasse/facturation/templates/facturation/detail.html b/calebasse/facturation/templates/facturation/detail.html
index 6bdebc3..cc8a780 100644
--- a/calebasse/facturation/templates/facturation/detail.html
+++ b/calebasse/facturation/templates/facturation/detail.html
@@ -411,11 +411,7 @@
</p>
<div id="dossiers-concernes">
{% for patient, detail in patients_stats %}
- {% if patient.pause or "acts_paused" in detail.keys or patient in patients_missing_policy %}
- <div class="frame dossier facturable">
- {% else %}
- <div class="frame dossier">
- {% endif %}
+ <div class="frame dossier{% if patient.pause%} not_facturable pause{% endif %}{% if "acts_paused" in detail.keys %} not_facturable acts_paused{% endif %}{% if patient in patients_missing_policy %} not_facturable missing_policy{% endif %}">
<h3><span class="patient_pk">({{ patient.pk }})</span><a href="../../dossiers/{{ patient.pk }}/view" target="_blank">
{% if patient.paper_id %}{{ patient.paper_id }} {% endif %} <span class="lastname">{{ patient.last_name }}</span> {{ patient.first_name }}</a></h3>
<div class="info">
@@ -488,11 +484,7 @@
</p>
<div id="dossiers-concernes">
{% for patient, detail in patients_stats %}
- {% if patient.pause or "acts_paused" in detail.keys or patient in patients_missing_policy or patient in patients_missing_notif %}
- <div class="frame dossier facturable">
- {% else %}
- <div class="frame dossier">
- {% endif %}
+ <div class="frame dossier{% if patient.pause%} not_facturable pause{% endif %}{% if "acts_paused" in detail.keys %} not_facturable acts_paused{% endif %}{% if patient in patients_missing_policy %} not_facturable missing_policy{% endif %}{% if patient in patients_missing_notif %} not_facturable missing_notif{% endif %}">
<h3><span class="patient_pk">({{ patient.pk }})</span><a href="../../dossiers/{{ patient.pk }}/view" target="_blank">
{% if patient.paper_id %}{{ patient.paper_id }} {% endif %} <span class="lastname">{{ patient.last_name }}</span> {{ patient.first_name }}</a></h3>
<div class="info">