Commit | Line | Data |
---|---|---|
3a62d4fe OL |
1 | {% load dae %} |
2 | ||
179f6b49 | 3 | <fieldset> |
8f4a8792 OL |
4 | <h2>Contrat</h2> |
5 | <table> | |
6 | <tbody> | |
7 | <tr> | |
84934747 BS |
8 | <th rowspan="2">{{ form.type_contrat.label_tag }} :</th> |
9 | <td colspan="4" rowspan="2"> | |
8f4a8792 OL |
10 | {{ form.type_contrat }}<br /> |
11 | {{ form.type_contrat.errors }} | |
12 | </td> | |
84934747 BS |
13 | <th> |
14 | {{ form.remplacement.label_tag }} : | |
15 | </th> | |
8f4a8792 OL |
16 | <td> |
17 | {{ form.remplacement }}<br /> | |
18 | {{ form.remplacement.errors }} | |
19 | </td> | |
20 | </tr> | |
84934747 BS |
21 | <th> |
22 | {{ form.est_cadre.label_tag }} : | |
23 | </th> | |
24 | <td> | |
25 | {{ form.est_cadre }}<br /> | |
26 | {{ form.est_cadre.errors }} | |
27 | </td> | |
28 | <tr> | |
29 | ||
30 | </tr> | |
8f4a8792 OL |
31 | <tr> |
32 | <th rowspan="2">Durée :</th> | |
33 | <td>du</td> | |
34 | <td> | |
35 | {{ form.contrat_date_debut }}<br /> | |
36 | <span class="info">({{form.contrat_date_debut.help_text }})</span><br /> | |
37 | {{ form.contrat_date_debut.errors }} | |
38 | </td> | |
39 | <td> au </td> | |
40 | <td> | |
41 | {{ form.contrat_date_fin }}<br /> | |
42 | <span class="info">({{form.contrat_date_fin.help_text }})</span><br /> | |
43 | {{ form.contrat_date_fin.errors }} | |
44 | </td> | |
45 | <th>{{ form.regime_travail.label_tag }} :<br />{{ form.regime_travail.errors }}</th> | |
46 | <td> | |
47 | {{ form.regime_travail }} | |
48 | <span class="info">{{ form.regime_travail.help_text }}</span> | |
49 | </td> | |
50 | </tr> | |
51 | <tr> | |
52 | <td colspan="4" class="info"> | |
53 | <p id="note-duree">Pour une durée indéterminée, spécifier uniquement la date de début.</p> | |
54 | </td> | |
55 | <th> | |
56 | {{ form.regime_travail_nb_heure_semaine.label_tag }} :<br /> | |
57 | {{ form.regime_travail_nb_heure_semaine.errors }} | |
58 | </th> | |
e2827532 OL |
59 | <td>{{ form.regime_travail_nb_heure_semaine }} |
60 | <span class="info">{{ form.regime_travail_nb_heure_semaine.help_text }}</span></td> | |
8f4a8792 OL |
61 | </tr> |
62 | <tr> | |
63 | <th>Statut : </th> | |
64 | <td colspan="4"> | |
65 | {{ form.statut }} | |
66 | <span class="row"> | |
67 | {{ form.statut_residence }} | |
68 | {% if form.statut.errors %} | |
69 | <br /> | |
70 | {{ form.statut.errors }} | |
71 | {% endif %} | |
72 | {% if form.statut_residence.errors %} | |
73 | <br /> | |
74 | {{ form.statut_residence.errors }} | |
75 | {% endif %} | |
76 | </span> | |
77 | </td> | |
78 | <th>{{ form.organisme_bstg.label_tag }} :</th> | |
79 | <td> | |
80 | {{ form.organisme_bstg }} | |
81 | {% if form.organisme_bstg.errors %} | |
82 | <br /> | |
83 | {{ form.organisme_bstg.errors }} | |
84 | {% endif %} | |
85 | <span class="info">{{ form.organisme_bstg.help_text }}</span><br/><br/> | |
86 | {{ form.organisme_bstg_autre }} | |
87 | <span class="info">{{ form.organisme_bstg_autre.help_text }}</span> | |
88 | </td> | |
89 | </tr> | |
84934747 BS |
90 | <tr> |
91 | <th></th> | |
92 | <td colspan="4"> | |
93 | </td> | |
94 | <th colspan="2"> | |
95 | </th> | |
96 | </tr> | |
8f4a8792 OL |
97 | </tbody> |
98 | </table> | |
99 | </fieldset> | |
100 | ||
101 | <fieldset> | |
179f6b49 OL |
102 | <h2>Classement et salaire de base</h2> |
103 | <table> | |
eabaed81 | 104 | <tbody> |
179f6b49 OL |
105 | <tr> |
106 | <td colspan="7"> | |
107 | <h3>Ancien dossier <span class="info">(le cas échéant)</span></h3> | |
108 | </td> | |
109 | </tr> | |
179f6b49 | 110 | <tr> |
eabaed81 OL |
111 | <td colspan="7"> |
112 | {{ employe }} <span class="info">{{ employe.dossier_set.all.reverse }}</span> | |
179f6b49 OL |
113 | </td> |
114 | </tr> | |
179f6b49 OL |
115 | <tr> |
116 | <th>{{ form.classement_anterieur.label_tag }}</th> | |
eabaed81 | 117 | <th>{{ form.salaire_anterieur.label_tag }}</th> |
179f6b49 | 118 | <th>{{ form.statut_anterieur.label_tag }}</th> |
67c15007 | 119 | <th>{{ form.type_contrat_anterieur.label_tag }}</th> |
eabaed81 | 120 | <th colpsan="3"></th> |
179f6b49 OL |
121 | </tr> |
122 | <tr> | |
4f3cb539 OL |
123 | <td>{{ form.classement_anterieur }}</td> |
124 | <td>{{ form.salaire_anterieur }} {{ form.devise_anterieur }}</td> | |
125 | <td>{{ form.statut_anterieur }}</td> | |
67c15007 | 126 | <td>{{ form.type_contrat_anterieur }}</td> |
eabaed81 | 127 | <td colspan="3"></td> |
179f6b49 OL |
128 | </tr> |
129 | <tr> | |
130 | <td colspan="7"> | |
c2639f57 | 131 | <h3>Précédent titulaire <span class="info">(le cas échéant)</span></h3> |
179f6b49 OL |
132 | </td> |
133 | </tr> | |
134 | <tr> | |
135 | <td colspan="7"> | |
3a62d4fe OL |
136 | {% if request.user|test_membre_drh %} |
137 | {{ form.instance.employe_anterieur }}{{ form.employe_anterieur }} | |
138 | {% else %} | |
b1baa306 | 139 | {{ form.instance.employe_anterieur }}{{ form.employe_anterieur.as_hidden }} |
3a62d4fe | 140 | {% endif %} |
179f6b49 OL |
141 | {{ form.employe_anterieur.errors }} |
142 | </td> | |
143 | </tr> | |
144 | <tr> | |
145 | <th>{{ form.classement_titulaire_anterieur.label_tag }}</th> | |
179f6b49 OL |
146 | <th colspan="4">{{ form.salaire_titulaire_anterieur.label_tag }}</th> |
147 | <th>{{ form.statut_titulaire_anterieur.label_tag }}</th> | |
148 | <th></th> | |
149 | </tr> | |
150 | <tr> | |
3a62d4fe OL |
151 | {% if request.user|test_membre_drh %} |
152 | <td>{{ form.instance.classement_titulaire_anterieur }} | |
153 | {{ form.classement_titulaire_anterieur }}<br /> | |
154 | {{ form.classement_titulaire_anterieur.errors }} | |
155 | </td> | |
80bcc96b | 156 | <td>{{ form.instance.salaire_titulaire_anterieur }}{{ form.salaire_titulaire_anterieur }} {{ form.devise_titulaire_anterieur }}</td> |
3a62d4fe OL |
157 | <td></td> |
158 | <td></td> | |
159 | <td></td> | |
160 | <td>{{ form.instance.statut_titulaire_anterieur }}{{ form.statut_titulaire_anterieur }}</td> | |
161 | {% else %} | |
162 | <td>{{ form.instance.classement_titulaire_anterieur }} | |
163 | {{ form.classement_titulaire_anterieur.as_hidden }}<br /> | |
164 | {{ form.classement_titulaire_anterieur.errors }} | |
165 | </td> | |
80bcc96b | 166 | <td>{{ form.instance.salaire_titulaire_anterieur }}{{ form.salaire_titulaire_anterieur.as_hidden }} {{ form.instance.devise_titulaire_anterieur.as_hidden }}</td> |
3a62d4fe OL |
167 | <td></td> |
168 | <td></td> | |
169 | <td></td> | |
170 | <td>{{ form.instance.statut_titulaire_anterieur }}{{ form.statut_titulaire_anterieur.as_hidden }}</td> | |
171 | {% endif %} | |
179f6b49 OL |
172 | <td></td> |
173 | </tr> | |
174 | <tr> | |
175 | <td colspan="7"> | |
176 | <h3>Proposition de classement</h3> | |
177 | </td> | |
178 | </tr> | |
179f6b49 OL |
179 | <tr> |
180 | <th>{{ form.classement.label_tag }}</th> | |
66796c1f | 181 | <th colspan="3">{{ form.salaire.label_tag }}</th> |
179f6b49 OL |
182 | <td colspan="2"></td> |
183 | </tr> | |
184 | <tr> | |
66796c1f | 185 | <td>{{ form.classement }}<br />{{ form.classement.errors }}</td> |
58ad4beb | 186 | <td>{{ form.salaire.errors }} {{ form.salaire }} {{ form.devise }} |
66796c1f OL |
187 | <span class="info">(fourchette du poste : {{ poste.salaire_min }} {{ poste.devise_min.code }} |
188 | - {{ poste.salaire_max }} {{ poste.devise_max.code }})</span> | |
179f6b49 | 189 | </td> |
66796c1f | 190 | <td id="salaire-propose-euros" class="montant"></td> |
179f6b49 OL |
191 | <td>€</td> |
192 | <td colspan="2"></td> | |
193 | </tr> | |
194 | </tbody> | |
195 | </table> | |
196 | </fieldset> | |
197 | ||
198 | <script type="text/javascript"> | |
0e7a9d8b OL |
199 | /* Changement de classement, on repropose un salaire */ |
200 | $('#id_classement').change(function() { | |
66796c1f OL |
201 | loadSalaire(); |
202 | proposition_comparaison($('#id_devise').val()); | |
0e7a9d8b OL |
203 | }); |
204 | /* changements, on recalcule */ | |
205 | $('#id_salaire').focusout(function() {proposition_comparaison($('#id_devise').val());}); | |
206 | $('#id_devise').change(function() {proposition_comparaison($('#id_devise').val());}); | |
207 | proposition_comparaison($('#id_devise').val()); | |
179f6b49 OL |
208 | </script> |
209 | ||
210 | <fieldset> | |
179f6b49 OL |
211 | <h2>Accès et ouverture des comptes</h2> |
212 | <table> | |
213 | <tbody> | |
214 | <tr> | |
215 | <th> | |
216 | {{ form.compte_compta.label_tag }} | |
217 | </th> | |
218 | <td> | |
219 | {{ form.compte_compta }}<br /> | |
220 | {{ form.compte_compta.errors }} | |
221 | </td> | |
222 | <th> | |
223 | {{ form.compte_courriel.label_tag }} | |
224 | </th> | |
225 | <td> | |
226 | {{ form.compte_courriel }}<br /> | |
227 | {{ form.compte_courriel.errors }} | |
228 | </td> | |
229 | </tr> | |
230 | </tbody> | |
231 | </table> | |
232 | </fieldset> | |
d766bf2c | 233 |