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> | |
140 | {% comment %} | |
141 | <tr> | |
142 | <td colspan="7"> | |
143 | Davin Baragiotta - | |
144 | <span id="info_employe" class="info">Nom du poste visé</span> | |
145 | </td> | |
146 | </tr> | |
147 | {% endcomment %} | |
148 | <tr> | |
149 | <th>{{ form.classement.label_tag }}</th> | |
66796c1f | 150 | <th colspan="3">{{ form.salaire.label_tag }}</th> |
179f6b49 OL |
151 | <td colspan="2"></td> |
152 | </tr> | |
153 | <tr> | |
66796c1f OL |
154 | <td>{{ form.classement }}<br />{{ form.classement.errors }}</td> |
155 | <td>{{ form.salaire }} {{ form.devise }} | |
156 | <span class="info">(fourchette du poste : {{ poste.salaire_min }} {{ poste.devise_min.code }} | |
157 | - {{ poste.salaire_max }} {{ poste.devise_max.code }})</span> | |
179f6b49 | 158 | </td> |
66796c1f | 159 | <td id="salaire-propose-euros" class="montant"></td> |
179f6b49 OL |
160 | <td>€</td> |
161 | <td colspan="2"></td> | |
162 | </tr> | |
163 | </tbody> | |
164 | </table> | |
165 | </fieldset> | |
166 | ||
167 | <script type="text/javascript"> | |
66796c1f OL |
168 | /* Conversion en fonction du classement et de la devise */ |
169 | function comparaison_conversion() { | |
170 | loadSalaire(); | |
171 | proposition_comparaison($('#id_devise').val()); | |
179f6b49 | 172 | } |
66796c1f OL |
173 | $('#id_classement, #id_devise').change(function() {comparaison_conversion();}); |
174 | comparaison_conversion(); | |
175 | /* Prévention contre les changements de salaire de base */ | |
176 | $('#id_salaire').focusout(function() {comparaison_conversion();}); | |
179f6b49 OL |
177 | </script> |
178 | ||
179 | <fieldset> | |
179f6b49 OL |
180 | <h2>Accès et ouverture des comptes</h2> |
181 | <table> | |
182 | <tbody> | |
183 | <tr> | |
184 | <th> | |
185 | {{ form.compte_compta.label_tag }} | |
186 | </th> | |
187 | <td> | |
188 | {{ form.compte_compta }}<br /> | |
189 | {{ form.compte_compta.errors }} | |
190 | </td> | |
191 | <th> | |
192 | {{ form.compte_courriel.label_tag }} | |
193 | </th> | |
194 | <td> | |
195 | {{ form.compte_courriel }}<br /> | |
196 | {{ form.compte_courriel.errors }} | |
197 | </td> | |
198 | </tr> | |
199 | </tbody> | |
200 | </table> | |
201 | </fieldset> | |
d766bf2c | 202 |