-<h2>Classement et salaire de base</h2>
-<table>
- <tbody>
- <tr>
- <td colspan="7">
- <h3>Ancien dossier <span class="info">(le cas échéant)</span></h3>
- </td>
- </tr>
- <tr>
- <td colspan="7">
- {{ employe }} <span class="info">{{ employe.dossier_set.all.reverse }}</span>
- </td>
- </tr>
- <tr>
- <th>{{ form.classement_anterieur.label_tag }}</th>
- <th>{{ form.salaire_anterieur.label_tag }}</th>
- <th>{{ form.statut_anterieur.label_tag }}</th>
- <th>{{ form.type_contrat.label_tag }}</th>
- <th colpsan="3"></th>
- </tr>
- <tr>
- <td>{{ form.instance.classement_anterieur|default:"" }}</td>
- <td>{{ form.instance.salaire_anterieur|default:"" }}</td>
- <td>{{ form.instance.statut_anterieur|default:"" }}</td>
- <td>{{ form.instance.type_contrat|default:"" }}</td>
- <td colspan="3"></td>
- </tr>
- <tr>
- <td colspan="7">
- <h3>Précédant titulaire <span class="info">(le cas échéant)</span></h3>
- </td>
- </tr>
- <tr>
- <td colspan="7">
- {{ form.instance.employe_anterieur }}
- {% comment %} -
- <span id="info_employe" class="info">Nom du poste visé</span>
- {% endcomment %}<br />
- {{ form.employe_anterieur.errors }}
- </td>
- </tr>
- <tr>
- <th>{{ form.classement_titulaire_anterieur.label_tag }}</th>
- {% comment %}<th>Valeur du point</th>{% endcomment %}
- <th colspan="4">{{ form.salaire_titulaire_anterieur.label_tag }}</th>
- <th>{{ form.statut_titulaire_anterieur.label_tag }}</th>
- <th></th>
- </tr>
- <tr>
- <td>{{ form.instance.classement_titulaire_anterieur }}<br />
- {{ form.classement_titulaire_anterieur.errors }}
- </td>
- {% comment %}<td>val point</td>{% endcomment %}
- <td>{{ form.instance.salaire_titulaire_anterieur }}</td>
- <td>{% comment %}${% endcomment %}</td>
- <td>{% comment %}0.00{% endcomment %}</td>
- <td>{% comment %}€{% endcomment %}</td>
- <td>{{ form.instance.statut_titulaire_anterieur }}</td>
- <td></td>
- </tr>
- <tr>
- <td colspan="7">
- <h3>Proposition de classement</h3>
- </td>
- </tr>
- {% comment %}
- <tr>
- <td colspan="7">
- Davin Baragiotta -
- <span id="info_employe" class="info">Nom du poste visé</span>
- </td>
- </tr>
- {% endcomment %}
- <tr>
- <th>{{ form.classement.label_tag }}</th>
- {% comment %}<th>Valeur du point</th>{% endcomment %}
- <th colspan="4">{{ form.salaire.label_tag }} en {{ form.devise }}</th>
- <td colspan="2"></td>
- </tr>
- <tr>
- <td>{{ form.classement }}<br />
- {{ form.classement.errors }}
- </td>
- {% comment %}<td>val point</td>{% endcomment %}
- <td>{{ form.salaire }} <span class="info">(fourchette du poste : {{ poste.salaire_min }} {{ poste.devise_min.code }} - {{ poste.salaire_max }} {{ poste.devise_max.code }})</span></td>
- <td>{% comment %}${% endcomment %}</td>
- <td>{% comment %}0.00{% endcomment %}</td>
- <td>€</td>
- <td colspan="2"></td>
- </tr>
- </tbody>
-</table>
-</fieldset>
-
-<script type="text/javascript">
- function activateDossierDropDowns() {
- $('#id_classement, #id_devise').change(loadSalaire);
- }
- function loadSalaire() {
- $.getJSON('{% url salaire %}/' + $('#implantation').val() + '/' +
- $('#id_devise').val() + '/' + $('#id_classement').val(),
- function(data) {
- $('#id_salaire').val(data.salaire_devise);
- });
- }
- activateDossierDropDowns();
-</script>
-
-<fieldset>