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