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