| 1 | {% extends 'base.html' %} |
| 2 | {% load adminmedia dae %} |
| 3 | |
| 4 | {% block title %}RH - DAE - Embauche{% endblock %} |
| 5 | {% block titre %}Ressources humaines{% endblock %} |
| 6 | {% block sous_titre %}Demande d'autorisation d'engagement{% endblock %} |
| 7 | |
| 8 | {% block extrahead %} |
| 9 | <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/dae.css" /> |
| 10 | {% endblock %} |
| 11 | |
| 12 | {% block main %} |
| 13 | <h1 class="gauche">Demande d'autorisation d'engagement de personnel</h1> |
| 14 | <a class="droite bouton-action" target="_blank" href="?mode=vpdf">Format impression</a> |
| 15 | {% if dossier|est_editable:request.user %} |
| 16 | <a class="droite bouton-action" href="{% url embauche dossier.poste.key dossier.id %}">Modifier</a> |
| 17 | {% endif %} |
| 18 | <div class="visualClear"></div> |
| 19 | |
| 20 | <h2 class="section">SECTION 1 - POSTE</h2> |
| 21 | {% with dossier.poste as poste %} |
| 22 | {% include 'dae/poste_resume.html' %} |
| 23 | {% endwith %} |
| 24 | |
| 25 | <h2 class="section">SECTION 2 - PERSONNEL ENGAGÉ</h2> |
| 26 | <fieldset> |
| 27 | <div> |
| 28 | <div class="gauche"><h2>Personne</h2></div> |
| 29 | <div class="droite"> |
| 30 | <table class="droite"> |
| 31 | <tbody> |
| 32 | <tr> |
| 33 | <th>Mobilité interne</th> |
| 34 | <td colspan="3">{% if dossier.mobilite_interne %}oui{% else %}non{% endif %} |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | </div> |
| 40 | <div class="clear"></div> |
| 41 | <table id="form-employe"> |
| 42 | <tbody> |
| 43 | <tr> |
| 44 | <th>Employé</th> |
| 45 | <td colspan="5">{{ dossier.employe }} ({{ dossier.employe.genre }})</td> |
| 46 | </tr> |
| 47 | </tbody> |
| 48 | </table> |
| 49 | |
| 50 | </fieldset> |
| 51 | |
| 52 | <fieldset> |
| 53 | <h2>Comparaison salariale</h2> |
| 54 | <span class="info">dans la région pour les employés occupant un poste similaire</span> |
| 55 | <table> |
| 56 | <tbody> |
| 57 | <tr> |
| 58 | <th>Classement</th> |
| 59 | <th>Statut</th> |
| 60 | <th>Implantation</th> |
| 61 | <th>Employé</th> |
| 62 | <th>Poste</th> |
| 63 | <th>Salaire</th> |
| 64 | <th>Salaire EUR</th> |
| 65 | </tr> |
| 66 | {% for dc in dossier.comparaisons.all %} |
| 67 | <tr> |
| 68 | <td>{{ dc.classement|default:"" }}</td> |
| 69 | <td>{{ dc.statut|default:"" }}</td> |
| 70 | <td>{{ dc.implantation }}</td> |
| 71 | <td>{{ dc.personne }}</td> |
| 72 | <td>{{ dc.poste }}</td> |
| 73 | <td>{{ dc.montant|floatformat:0 }} {{ dc.devise }}</td> |
| 74 | <td>{{ dc.montant_euros|floatformat:0 }} EUR</td> |
| 75 | </tr> |
| 76 | {% endfor %} |
| 77 | </tbody> |
| 78 | </table> |
| 79 | </fieldset> |
| 80 | |
| 81 | |
| 82 | <div id="form-dossier"> |
| 83 | {% comment %}Wrapper du formulaire de dossier{% endcomment %} |
| 84 | {% include "dae/embauche-dossier-consulter.html" %} |
| 85 | </div> |
| 86 | |
| 87 | <fieldset> |
| 88 | <h2>Pièces jointes</h2> |
| 89 | <ul> |
| 90 | {% for pj in dossier.dossierpiece_set.all %} |
| 91 | <li><a href="{% url dossier_piece pj.id pj.fichier.name|basename %}">{{ pj.nom }}</a></li> |
| 92 | {% endfor %} |
| 93 | </ul> |
| 94 | |
| 95 | </fieldset> |
| 96 | |
| 97 | <h2 class="section">SECTION 3 - COÛT GLOBAL</h2> |
| 98 | |
| 99 | <fieldset> |
| 100 | <table cellspacing="0" id="global-cost"> |
| 101 | {% include 'dae/embauche-remun-consulter.html' %} |
| 102 | </table> |
| 103 | </fieldset> |
| 104 | |
| 105 | <h2 class="section">SECTION 4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)</h2> |
| 106 | <h3>A - Justification du poste</h3> |
| 107 | <p>{{ poste.justification }}</p> |
| 108 | |
| 109 | <h3>B - Justification de l'employé</h3> |
| 110 | <table class="justifications"> |
| 111 | <tr> |
| 112 | <th>Nouvel employé</th> |
| 113 | <th>Renouvellement, prolongation, reclassement, mobilité interne</th> |
| 114 | </tr> |
| 115 | <tr> |
| 116 | <td> |
| 117 | <h4>{{ dossier.justif_nouveau_statut_label }}</h4> |
| 118 | <p>{{ dossier.justif_nouveau_statut|default:"∅" }} |
| 119 | <h4>{{ dossier.justif_nouveau_tmp_remplacement_label }}</h4> |
| 120 | <p>{{ dossier.justif_nouveau_tmp_remplacement|default:"∅" }}</p> |
| 121 | <h4>{{ dossier.justif_nouveau_salaire_label }}</h4> |
| 122 | <p>{{ dossier.justif_nouveau_salaire|default:"∅" }}</p> |
| 123 | <h4>{{ dossier.justif_nouveau_commentaire_label }}</h4> |
| 124 | <p>{{ dossier.justif_nouveau_commentaire|default:"∅" }}</p> |
| 125 | </td> |
| 126 | <td> |
| 127 | <h4>{{ dossier.justif_rempl_type_contrat_label }}</h4> |
| 128 | <p>{{ dossier.justif_rempl_type_contrat|default:"∅"}}</p> |
| 129 | <h4>{{ dossier.justif_rempl_statut_employe_label }}</h4> |
| 130 | <p>{{ dossier.justif_rempl_statut_employe|default:"∅"}}</p> |
| 131 | <h4>{{ dossier.justif_rempl_evaluation_label }}</h4> |
| 132 | <p>{{ dossier.justif_rempl_evaluation|default:"∅"}}</p> |
| 133 | <h4>{{ dossier.justif_rempl_salaire_label }}</h4> |
| 134 | <p>{{ dossier.justif_rempl_salaire|default:"∅" }}</p> |
| 135 | <h4>{{ dossier.justif_rempl_commentaire_label }}</h4> |
| 136 | <p>{{ dossier.justif_rempl_commentaire|default:"∅" }}</p> |
| 137 | </td> |
| 138 | </tr> |
| 139 | </table> |
| 140 | |
| 141 | {% if dossier.valide %} |
| 142 | <h2 class="section">CONTRATS</h2> |
| 143 | |
| 144 | <a class="droite bouton-action" href="{% url embauche_ajouter_contrat dossier_id=dossier.id %}" |
| 145 | >Ajouter un contrat</a> |
| 146 | |
| 147 | <table> |
| 148 | <thead> |
| 149 | <tr> |
| 150 | <th>Type</th> |
| 151 | <th>Fichier</th> |
| 152 | <th></th> |
| 153 | </tr> |
| 154 | </thead> |
| 155 | <tbody> |
| 156 | {% for contrat in dossier.contrats.all %} |
| 157 | <tr> |
| 158 | <td>{{ contrat.type }}</td> |
| 159 | <td><a href="{% url contrat contrat.id contrat.fichier.name|basename %}" |
| 160 | >{{ contrat.fichier.name|basename }}</a></td> |
| 161 | <td><a href="{% url contrat_supprimer contrat.id %}">Supprimer</a></td> |
| 162 | </tr> |
| 163 | {% empty %} |
| 164 | <tr> |
| 165 | <td colspan="0">Aucun contrat pour l'instant</td> |
| 166 | </tr> |
| 167 | {% endfor %} |
| 168 | </tbody> |
| 169 | </table> |
| 170 | {% endif %} |
| 171 | |
| 172 | <h2 class="section">VALIDATIONS</h2> |
| 173 | |
| 174 | <table> |
| 175 | <tr> |
| 176 | <th>Action</th> |
| 177 | <th>Commentaire</th> |
| 178 | </tr> |
| 179 | {% for commentaire in dossier.historique_desc %} |
| 180 | {% include "dae/ligne_validation.html" %} |
| 181 | {% endfor %} |
| 182 | </table> |
| 183 | |
| 184 | <h2>Votre validation (ou commentaire)</h2> |
| 185 | <p>Ce dossier est actuellement à l'état <span class="note">{{ dossier.get_etat_display }}</span>.</p> |
| 186 | |
| 187 | <form action="" method="post"> |
| 188 | <table> |
| 189 | {% if validationForm.get_etats_disponibles %}{{ validationForm.commentaire }}{% endif %} |
| 190 | </table> |
| 191 | {{ validationForm.get_input_etats_as_buttons|safe }} |
| 192 | </form> |
| 193 | |
| 194 | {% endblock %} |