1
|
<!doctype html>
|
2
|
<html>
|
3
|
<head>
|
4
|
<style>
|
5
|
@page one{
|
6
|
size: a4 landscape;
|
7
|
@frame {
|
8
|
margin: 1cm 1cm 1cm 1cm;
|
9
|
}
|
10
|
@frame footer {
|
11
|
-pdf-frame-content: footer;
|
12
|
bottom: 0cm;
|
13
|
right: 1cm;
|
14
|
left: 1cm;
|
15
|
height: 1.5cm;
|
16
|
}
|
17
|
}
|
18
|
@page then{
|
19
|
size: a4 landscape;
|
20
|
@frame {
|
21
|
margin: 1cm 1cm 1cm 1cm;
|
22
|
}
|
23
|
@frame footer {
|
24
|
-pdf-frame-content: footer;
|
25
|
bottom: 0cm;
|
26
|
right: 1cm;
|
27
|
left: 1cm;
|
28
|
height: 1.5cm;
|
29
|
}
|
30
|
}
|
31
|
#content td {
|
32
|
text-align: center;
|
33
|
}
|
34
|
</style>
|
35
|
</head>
|
36
|
<pdf:nexttemplate name="one"/>
|
37
|
<body>
|
38
|
<div id="title">Bordereau des actes par patient</div>
|
39
|
<div id="date">
|
40
|
<div>
|
41
|
Édité le {{ now|date:"d/m/Y" }} à {{ now|time:"H:i:s" }}
|
42
|
</div>
|
43
|
</div>
|
44
|
<div id="header-box">
|
45
|
<div id="payee-header">
|
46
|
<table style="padding: 3px; border: 0.5px solid black; height: 5cm;">
|
47
|
<tr style="padding-top: 3px; padding-bottom: 2px; line-height: 50%; background-color: #EEEEEE; margin-bottom: 3cm"><td> Établissement</td></tr>
|
48
|
<tr><td style="height: 5cm; display: block;">
|
49
|
{% block payee %}
|
50
|
{{ service.name }} de SAINT-ETIENNE</br>
|
51
|
66/68, RUE MARENGO</br>
|
52
|
42000 SAINT-ETIENNE</br>
|
53
|
Tél.: 04 77 92 05 70</br>
|
54
|
</br>
|
55
|
Période du {{ start_date|date:"d/m/Y" }} au {{ end_date|date:"d/m/Y" }}</br>
|
56
|
</br>
|
57
|
Nombre de dossiers : {{ total_files }}</br>
|
58
|
Nombre d'actes : {{ total_acts }}</br>
|
59
|
</br>
|
60
|
</br>
|
61
|
</br>
|
62
|
{% endblock %}
|
63
|
</td></tr>
|
64
|
</table>
|
65
|
</div>
|
66
|
<div id="content">
|
67
|
<div style="border: 0.5px solid black; padding-top: 2px; padding-bottom: 3px; line-height: 50%;">
|
68
|
<pdf:nexttemplate name="then"/>
|
69
|
<table>
|
70
|
<thead style="border: none;">
|
71
|
<tr class="batch-columns-header" style="background-color: #EEEEEE;">
|
72
|
<td>Code gestion</td>
|
73
|
<td>Assuré</td>
|
74
|
<td>NIR + Clé</td>
|
75
|
<td>Nom caisse</td>
|
76
|
<td>TP</td>
|
77
|
<td>Num caisse</td>
|
78
|
<td>Centre</td>
|
79
|
<td>Numéro</td>
|
80
|
<td>Enfant</td>
|
81
|
<td>Naissance</td>
|
82
|
<td>Inscription</td>
|
83
|
<td>Sortie</td>
|
84
|
<td>Actes</td>
|
85
|
</tr>
|
86
|
</thead>
|
87
|
<tbody class="batch-content" style="border: none;">
|
88
|
{% for patient in patients %}
|
89
|
<tr>
|
90
|
<td>{% if patient.code %}{{ patient.code }}{% endif %}</td>
|
91
|
<td>{% if patient.policy_holder %}{{ patient.policy_holder }}{% endif %}</td>
|
92
|
<td>{% if patient.nir %}{{ patient.nir }}{% endif %}</td>
|
93
|
<td>{% if patient.health_center %}{{ patient.health_center }}{% endif %}</td>
|
94
|
<td>{% if patient.tp %}{{ patient.tp }}{% endif %}</td>
|
95
|
<td>{% if patient.cai %}{{ patient.cai }}{% endif %}</td>
|
96
|
<td>{% if patient.cen %}{{ patient.cen }}{% endif %}</td>
|
97
|
<td>{% if patient.number %}{{ patient.number }}{% endif %}</td>
|
98
|
<td>{% if patient.name %}{{ patient.name }}{% endif %}</td>
|
99
|
<td>{% if patient.birth_date %}{{ patient.birth_date|date:"d/m/Y" }}{% endif %}</td>
|
100
|
<td>{% if patient.inscription_date %}{{ patient.inscription_date|date:"d/m/Y" }}{% endif %}</td>
|
101
|
<td>{% if patient.sortie_date %}{{ patient.sortie_date|date:"d/m/Y" }}{% endif %}</td>
|
102
|
<td>{% if patient.nb_actes %}{{ patient.nb_actes }}{% endif %}</td>
|
103
|
</tr>
|
104
|
{% endfor %}
|
105
|
</tbody>
|
106
|
</table>
|
107
|
<div id="footer">
|
108
|
Bordereau des actes par patient page <pdf:pagenumber/>
|
109
|
</br>{{ service.name }} de SAINT-ETIENNE
|
110
|
</br>Période du {{ start_date|date:"d/m/Y" }} au {{ end_date|date:"d/m/Y" }}
|
111
|
</div>
|
112
|
</body>
|
113
|
</html>
|