4 {% for f in remunForm.management_form %}
8 <table id=
"global-cost">
11 <th>Devise locale
</th>
12 <th>Annuel
<br/>(visé)
</th>
13 <th>Annuel Euros
<br/>(visé)
</th>
14 {% if remunForm.read_only %}
15 <th>Annuel Euros
<br/>(ajusté par période)
</th>
18 {% if not remunForm.read_only %}
22 {% for group in remunForm.group_list %}
23 {% if group.key != 'RAS' %}
25 <th colspan=
"6">{{ group.name }}
</th>
27 {% for f in group.forms %}
28 <tr class=
"calculable remunform">
30 <td class=
"spaced">{{ f.type.errors }} {{ f.type }}
31 {% if f.instance.date_debut or f.instance.date_fin %}
32 {% if f.instance.date_debut or f.instance.date_fin %}({% endif %}
33 {% if f.instance.date_debut %}{{f.instance.date_debut}}{% endif %}
35 {% if f.instance.date_fin %}{{f.instance.date_fin}}{% endif %}
36 {% if f.instance.date_debut or f.instance.date_fin %}){% endif %}
39 <td>{{ f.devise.errors }} {{ f.devise }}
</td>
40 <td class=
"monnaie cumulable">{{ f.montant.errors }} {{ f.montant }}
</td>
41 <td class=
"euro cumulable" id=
"id_{{ f.prefix }}-montant_annuel_euros"></td>
42 <!-- <td class="euro-ajuste cumulable" id="id_{{ f.prefix }}-montant_annuel_euros_ajuste">{{ f.instance.montant_ajuste_euros|stringformat:".2f" }}</td> -->
43 {% if remunForm.read_only %}
44 <td class=
"euro-ajuste cumulable" id=
"id_{{ f.prefix }}-montant_annuel_euros_ajuste">
45 {% remun_ajuste f.instance annee_remun %}
48 <td>{{ f.commentaire.errors }} {{ f.commentaire }}
</td>
49 {% if not remunForm.read_only %}
50 <td>{{ f.DELETE }}
</td>
54 <tr class=
"sous-totaux">
55 <td class=
"spaced">Sous-total{% if not remunForm.read_only %} -
56 <a class=
"addlink" href=
"#">
57 [
<span class=
"icon">Ajouter une ligne
</span>]
61 <td><!-- Laisser ce td pour que le javascript fonctionne bien. --></td>
62 <td class=
"sous-total"></td>
63 <td class=
"sous-total"></td>
64 {% if remunForm.read_only %}
65 <td class=
"sous-total"></td>
68 {% if not remunForm.read_only %}
74 <tr class=
"total-row">
75 <th><strong>Total
</strong></th>
76 <th><!-- Laisser ce td pour que le javascript fonctionne bien. --></th>
77 <th class=
"total"></th>
78 <th class=
"total"></th>
79 {% if remunForm.read_only %}
80 <th class=
"total"></th>
83 {% if not remunForm.read_only %}
88 <th><strong>Rémunération autre source
</strong></th>
89 <th><!-- Laisser ce td pour que le javascript fonctionne bien. --></th>
92 {% if remunForm.read_only %}
96 {% if not remunForm.read_only %}
100 {% for f in remunForm.groups.RAS.forms %}
101 <tr class=
"calculable remunform">
103 <td class=
"spaced">{{ f.type.errors }} {{ f.type }}
</td>
104 <td>{{ f.devise.errors }} {{ f.devise }}
</td>
105 <td class=
"monnaie cumulable">{{ f.montant.errors }} {{ f.montant }}
</td>
106 <td class=
"euro cumulable" id=
"id_{{ f.prefix }}-montant_annuel_euros"></td>
107 {% if remunForm.read_only %}
108 <td class=
"euro-ajuste cumulable" id=
"id_{{ f.prefix }}-montant_annuel_euros_ajuste">
109 {% remun_ajuste f.instance annee_remun %}
112 <td>{{ f.commentaire.errors }} {{ f.commentaire }}
</td>
113 {% if not remunForm.read_only %}
114 <td>{{ f.DELETE }}
</td>
118 <tr class=
"sous-totaux">
119 <td class=
"spaced">Sous-total{% if not remunForm.read_only %} -
120 <a class=
"addlink" href=
"#">
121 [
<span class=
"icon">Ajouter une ligne
</span>]
125 <td><!-- Laisser ce td pour que le javascript fonctionne bien. --></td>
126 <td class=
"sous-total"></td>
127 <td class=
"sous-total"></td>
128 {% if remunForm.read_only %}
129 <td class=
"sous-total"></td>
132 {% if not remunForm.read_only %}