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> |
0a085c42 | 12 | <th>Supprimer</th> |
cb1d62b5 | 13 | </tr> |
4718c21c | 14 | {% for group in remunForm.group_list %} |
0a085c42 | 15 | <tr> |
4718c21c BS |
16 | <th colspan="6">{{ group.name }}</th> |
17 | </tr> | |
18 | {% for f in group.forms %} | |
19 | <tr class="calculable"> | |
0a085c42 OL |
20 | {{ f.id }} |
21 | <td>{{ f.type.errors }} {{ f.type }}</td> | |
22 | <td>{{ f.devise.errors }} {{ f.devise }}</td> | |
4718c21c BS |
23 | <td class="monnaie cumulable">{{ f.montant.errors }} {{ f.montant }}</td> |
24 | <td class="euro cumulable" id="id_{{ f.prefix }}-montant_annuel_euros"></td> | |
e01e94ee | 25 | <td>{{ f.commentaire.errors }} {{ f.commentaire }}</td> |
0a085c42 OL |
26 | <td>{{ f.DELETE }}</td> |
27 | </tr> | |
28 | {% endfor %} | |
4718c21c BS |
29 | <tr class="sous-totaux"> |
30 | <td>Sous-total</td> | |
31 | <td><!-- Laisser ce td pour que le javascript fonctionne bien. --></td> | |
32 | <td class="sous-total"></td> | |
33 | <td class="sous-total"></td> | |
34 | <td colspan="2"></td> | |
35 | </tr> | |
36 | {% endfor %} | |
37 | <tr> | |
38 | <th><strong>Total</strong></th> | |
39 | <th><!-- Laisser ce td pour que le javascript fonctionne bien. --></th> | |
40 | <th class="total"></th> | |
41 | <th class="total"></th> | |
42 | <th colspan="2"></th> | |
43 | </tr> | |
0a085c42 | 44 | </table> |
57bd966c | 45 | |
0a085c42 OL |
46 | {% comment %} |
47 | <table> | |
48 | <tr> | |
49 | <th>Type</th> | |
50 | <th>Devise locale</th> | |
51 | <th>Mensuel</th> | |
52 | <th>Annuel</th> | |
53 | <th colspan="2">Conversion en Euros</th> | |
54 | <th>Précision</th> | |
55 | </tr> | |
57bd966c OL |
56 | <tr> |
57 | <th colspan="5">Coûts AUF</th> | |
58 | <th id="sous-total-cout" class="montant"></th> | |
59 | <th>EUR</th> | |
60 | </tr> | |
61 | ||
62 | {% for remun in dossier.get_couts_auf %} | |
63 | <tr class="cout"> | |
64 | <td>{{ remun.type }}</td> | |
65 | <td> | |
66 | {{ remun.devise }} | |
67 | <input type="hidden" id="taux_devise-{{ remun.id }}" | |
68 | name="taux_devise-{{ remun.id }}" | |
69 | value="{{ remun.taux_devise }}" /> | |
70 | </td> | |
71 | <td> | |
72 | <input type="text" id="montant_mois-{{ remun.id }}" | |
73 | name="montant_mois-{{ remun.id }}" | |
74 | value="{{ remun.montant_mois }}" /> | |
75 | </td> | |
76 | <td><input type="text" id="montant-{{ remun.id }}" | |
77 | name="cg-montant-{{ remun.id }}" | |
78 | value="{{ remun.montant|default_if_none:'' }}" /> | |
79 | </td> | |
80 | <td id="montant_euro_mois-{{ remun.id }}" class="montant"> | |
81 | {{ remun.montant_euro_mois }}</td> | |
e84c8ef1 | 82 | <td id="montant_euro-{{ remun.id }}" class="montant cumulable">{{ remun.montant_euros }}</td> |
57bd966c OL |
83 | <td><input type="text" name="cg-precision-{{ remun.id }}" |
84 | value="{{ remun.precision|default_if_none:'' }}" /></td> | |
85 | </tr> | |
86 | {% empty %} | |
cb1d62b5 | 87 | <tr> |
57bd966c OL |
88 | <td colspan="6"> |
89 | Aucun coût au registre | |
90 | </td> | |
91 | </tr> | |
92 | {% endfor %} | |
93 | ||
94 | ||
95 | <tr> | |
96 | <th colspan="5">BSTG - Salaire de mise à disposition</th> | |
97 | <th id="sous-total-aide" class="montant"></th> | |
98 | <th>EUR</th> | |
99 | </tr> | |
100 | ||
101 | {% for remun in dossier.get_aides_auf %} | |
102 | <tr class="aide"> | |
cb1d62b5 NC |
103 | <td>{{ remun.type }}</td> |
104 | <td> | |
105 | {{ remun.devise }} | |
8629520e NC |
106 | <input type="hidden" id="taux_devise-{{ remun.id }}" |
107 | name="taux_devise-{{ remun.id }}" | |
108 | value="{{ remun.taux_devise }}" /> | |
057763bc OL |
109 | </td> |
110 | <td> | |
8629520e NC |
111 | <input type="text" id="montant_mois-{{ remun.id }}" |
112 | name="montant_mois-{{ remun.id }}" | |
057763bc OL |
113 | value="{{ remun.montant_mois }}" /> |
114 | </td> | |
8629520e NC |
115 | <td><input type="text" id="montant-{{ remun.id }}" |
116 | name="cg-montant-{{ remun.id }}" | |
057763bc OL |
117 | value="{{ remun.montant|default_if_none:'' }}" /> |
118 | </td> | |
119 | <td id="montant_euro_mois-{{ remun.id }}" class="montant"> | |
8629520e | 120 | {{ remun.montant_euro_mois }}</td> |
e84c8ef1 | 121 | <td id="montant_euro-{{ remun.id }}" class="montant cumulable">{{ remun.montant_euros }}</td> |
057763bc | 122 | <td><input type="text" name="cg-precision-{{ remun.id }}" |
cb1d62b5 NC |
123 | value="{{ remun.precision|default_if_none:'' }}" /></td> |
124 | </tr> | |
125 | {% empty %} | |
126 | <tr> | |
127 | <td colspan="6"> | |
128 | Aucun coût au registre | |
129 | </td> | |
130 | </tr> | |
131 | {% endfor %} | |
57bd966c OL |
132 | |
133 | <tr> | |
134 | <th colspan="5">TOTAL</th> | |
135 | <th id="remun-total" class="montant"></th> | |
136 | <th>EUR</th> | |
137 | </tr> | |
0a085c42 | 138 | {% endcomment %} |