Commit | Line | Data |
---|---|---|
e0a465f2 | 1 | {% load l10n %} |
7d8f6789 | 2 | {% load dae %} |
e0a465f2 | 3 | |
0a085c42 OL |
4 | {% for f in remunForm.management_form %} |
5 | {{ f }} | |
6 | {% endfor %} | |
7 | ||
8 | <table id="global-cost"> | |
cb1d62b5 NC |
9 | <tr> |
10 | <th>Type</th> | |
057763bc | 11 | <th>Devise locale</th> |
e0a465f2 BS |
12 | <th>Annuel<br/>(visé)</th> |
13 | <th>Annuel Euros<br/>(visé)</th> | |
7d8f6789 | 14 | {% if remunForm.read_only %} |
e0a465f2 | 15 | <th>Annuel Euros<br/>(ajusté par période)</th> |
7d8f6789 | 16 | {% endif %} |
cb1d62b5 | 17 | <th>Précision</th> |
bc8dcc0e | 18 | {% if not remunForm.read_only %} |
0a085c42 | 19 | <th>Supprimer</th> |
bc8dcc0e | 20 | {% endif %} |
cb1d62b5 | 21 | </tr> |
4718c21c | 22 | {% for group in remunForm.group_list %} |
661da766 | 23 | {% if group.key != 'RAS' %} |
d50d4c29 BS |
24 | {% if group.key == 'Charges' %} |
25 | <tr class="total-row"> | |
26 | <th><strong>Total employé</strong></th> | |
27 | <th><!-- Laisser ce td pour que le javascript fonctionne bien. --></th> | |
28 | <th class="total"></th> | |
29 | <th class="total"></th> | |
30 | {% if remunForm.read_only %} | |
31 | <th class="total"></th> | |
32 | {% endif %} | |
33 | <th> </th> | |
34 | {% if not remunForm.read_only %} | |
35 | <th> </th> | |
36 | {% endif %} | |
37 | </tr> | |
38 | {% endif %} | |
39 | <tr> | |
40 | ||
41 | </tr> | |
0a085c42 | 42 | <tr> |
4718c21c BS |
43 | <th colspan="6">{{ group.name }}</th> |
44 | </tr> | |
45 | {% for f in group.forms %} | |
661da766 | 46 | <tr class="calculable remunform"> |
0a085c42 | 47 | {{ f.id }} |
7d8f6789 BS |
48 | <td class="spaced">{{ f.type.errors }} {{ f.type }} |
49 | {% if f.instance.date_debut or f.instance.date_fin %} | |
50 | {% if f.instance.date_debut or f.instance.date_fin %}({% endif %} | |
51 | {% if f.instance.date_debut %}{{f.instance.date_debut}}{% endif %} | |
52 | - | |
53 | {% if f.instance.date_fin %}{{f.instance.date_fin}}{% endif %} | |
54 | {% if f.instance.date_debut or f.instance.date_fin %}){% endif %} | |
55 | {% endif %} | |
56 | </td> | |
0a085c42 | 57 | <td>{{ f.devise.errors }} {{ f.devise }}</td> |
4718c21c | 58 | <td class="monnaie cumulable">{{ f.montant.errors }} {{ f.montant }}</td> |
bc8dcc0e | 59 | <td class="euro cumulable" id="id_{{ f.prefix }}-montant_annuel_euros"></td> |
7d8f6789 BS |
60 | <!-- <td class="euro-ajuste cumulable" id="id_{{ f.prefix }}-montant_annuel_euros_ajuste">{{ f.instance.montant_ajuste_euros|stringformat:".2f" }}</td> --> |
61 | {% if remunForm.read_only %} | |
62 | <td class="euro-ajuste cumulable" id="id_{{ f.prefix }}-montant_annuel_euros_ajuste"> | |
63 | {% remun_ajuste f.instance annee_remun %} | |
64 | </td> | |
65 | {% endif %} | |
e01e94ee | 66 | <td>{{ f.commentaire.errors }} {{ f.commentaire }}</td> |
bc8dcc0e | 67 | {% if not remunForm.read_only %} |
0a085c42 | 68 | <td>{{ f.DELETE }}</td> |
bc8dcc0e | 69 | {% endif %} |
0a085c42 OL |
70 | </tr> |
71 | {% endfor %} | |
4718c21c | 72 | <tr class="sous-totaux"> |
a59e0714 | 73 | <td class="spaced">Sous-total{% if not remunForm.read_only %} - |
bc8dcc0e | 74 | <a class="addlink" href="#"> |
661da766 BS |
75 | [<span class="icon">Ajouter une ligne</span>] |
76 | </a> | |
bc8dcc0e | 77 | {% endif %} |
661da766 | 78 | </td> |
4718c21c BS |
79 | <td><!-- Laisser ce td pour que le javascript fonctionne bien. --></td> |
80 | <td class="sous-total"></td> | |
81 | <td class="sous-total"></td> | |
7d8f6789 | 82 | {% if remunForm.read_only %} |
e0a465f2 | 83 | <td class="sous-total"></td> |
7d8f6789 | 84 | {% endif %} |
bc8dcc0e BS |
85 | <td> </td> |
86 | {% if not remunForm.read_only %} | |
87 | <td> </td> | |
88 | {% endif %} | |
4718c21c | 89 | </tr> |
6bec5651 | 90 | {% endif %} |
4718c21c | 91 | {% endfor %} |
6bec5651 | 92 | <tr class="total-row"> |
d50d4c29 | 93 | <th><strong>Total AUF</strong></th> |
4718c21c BS |
94 | <th><!-- Laisser ce td pour que le javascript fonctionne bien. --></th> |
95 | <th class="total"></th> | |
96 | <th class="total"></th> | |
7d8f6789 | 97 | {% if remunForm.read_only %} |
e0a465f2 | 98 | <th class="total"></th> |
7d8f6789 | 99 | {% endif %} |
bc8dcc0e BS |
100 | <th> </th> |
101 | {% if not remunForm.read_only %} | |
102 | <th> </th> | |
103 | {% endif %} | |
4718c21c | 104 | </tr> |
57bd966c | 105 | <tr> |
6bec5651 BS |
106 | <th><strong>Rémunération autre source</strong></th> |
107 | <th><!-- Laisser ce td pour que le javascript fonctionne bien. --></th> | |
108 | <th></th> | |
109 | <th></th> | |
7d8f6789 | 110 | {% if remunForm.read_only %} |
e0a465f2 | 111 | <th></th> |
7d8f6789 | 112 | {% endif %} |
bc8dcc0e BS |
113 | <th> </th> |
114 | {% if not remunForm.read_only %} | |
115 | <th> </th> | |
116 | {% endif %} | |
57bd966c | 117 | </tr> |
6bec5651 | 118 | {% for f in remunForm.groups.RAS.forms %} |
661da766 | 119 | <tr class="calculable remunform"> |
6bec5651 | 120 | {{ f.id }} |
a59e0714 | 121 | <td class="spaced">{{ f.type.errors }} {{ f.type }}</td> |
6bec5651 BS |
122 | <td>{{ f.devise.errors }} {{ f.devise }}</td> |
123 | <td class="monnaie cumulable">{{ f.montant.errors }} {{ f.montant }}</td> | |
124 | <td class="euro cumulable" id="id_{{ f.prefix }}-montant_annuel_euros"></td> | |
7d8f6789 BS |
125 | {% if remunForm.read_only %} |
126 | <td class="euro-ajuste cumulable" id="id_{{ f.prefix }}-montant_annuel_euros_ajuste"> | |
127 | {% remun_ajuste f.instance annee_remun %} | |
128 | </td> | |
129 | {% endif %} | |
6bec5651 | 130 | <td>{{ f.commentaire.errors }} {{ f.commentaire }}</td> |
bc8dcc0e | 131 | {% if not remunForm.read_only %} |
6bec5651 | 132 | <td>{{ f.DELETE }}</td> |
bc8dcc0e | 133 | {% endif %} |
57bd966c | 134 | </tr> |
cb1d62b5 | 135 | {% endfor %} |
6bec5651 | 136 | <tr class="sous-totaux"> |
a59e0714 | 137 | <td class="spaced">Sous-total{% if not remunForm.read_only %} - |
661da766 BS |
138 | <a class="addlink" href="#"> |
139 | [<span class="icon">Ajouter une ligne</span>] | |
140 | </a> | |
bc8dcc0e | 141 | {% endif %} |
661da766 | 142 | </td> |
6bec5651 BS |
143 | <td><!-- Laisser ce td pour que le javascript fonctionne bien. --></td> |
144 | <td class="sous-total"></td> | |
145 | <td class="sous-total"></td> | |
7d8f6789 | 146 | {% if remunForm.read_only %} |
e0a465f2 | 147 | <td class="sous-total"></td> |
7d8f6789 | 148 | {% endif %} |
bc8dcc0e BS |
149 | <td> </td> |
150 | {% if not remunForm.read_only %} | |
151 | <td> </td> | |
152 | {% endif %} | |
57bd966c | 153 | </tr> |
6bec5651 | 154 | </table> |