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