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