1
|
{% extends "facturation/base.html" %}
|
2
|
{% load url from future %}
|
3
|
|
4
|
{% block appbar %}
|
5
|
<h2>{% if service_name == "CMPP" %}Facturation{% else %}Décompte{% endif %}</h2>
|
6
|
<a href="../..">Retourner à l'accueil</a>
|
7
|
{% endblock %}
|
8
|
|
9
|
{% block content %}
|
10
|
<ul>
|
11
|
{% if current %}
|
12
|
<li><label>
|
13
|
{% if service_name == "CMPP" %}Facturation{% else %}Décompte{% endif %}
|
14
|
en cours :
|
15
|
</label>
|
16
|
<a href="{{ current.pk }}">{{ current.seq_id }}</a> -
|
17
|
{% if service_name == "CMPP" %}
|
18
|
à partir du {{ current.start_date }}
|
19
|
{% else %}
|
20
|
trimestre du {{ current.start_date }} au {{ current.end_date }}
|
21
|
{% if current.status == "validated" %}(Validé){% endif %}
|
22
|
{% endif %}
|
23
|
</li>
|
24
|
{% endif %}
|
25
|
{% if last %}
|
26
|
<li><label>
|
27
|
{% if service_name == "CMPP" %}Dernière facturation{% else %}Dernier décompte{% endif %} :
|
28
|
</label>
|
29
|
<a href="{{ last.pk }}">{{ last.seq_id }}</a> -
|
30
|
{% if service_name == "CMPP" %}
|
31
|
période du {{ last.start_date }} au {{ last.end_date }}
|
32
|
{% else %}
|
33
|
trimestre du {{ last.start_date }} au {{ last.end_date }}
|
34
|
{% endif %}
|
35
|
({% if last.status != "validated" %}
|
36
|
{% if service_name == "CMPP" %}
|
37
|
Non validée
|
38
|
{% else %}
|
39
|
Non validé
|
40
|
{% endif %}
|
41
|
{% else %}
|
42
|
{% if service_name == "CMPP" %}
|
43
|
Validée
|
44
|
{% else %}
|
45
|
Validé
|
46
|
{% endif %}
|
47
|
{% endif %})
|
48
|
</li>
|
49
|
{% endif %}
|
50
|
</ul>
|
51
|
|
52
|
<h3>Récapitulatif des {% if service_name == "CMPP" %}facturations{% else %}décomptes{% endif %}</h3>
|
53
|
{% endblock %}
|