Commit | Line | Data |
---|---|---|
5d5a57a4 | 1 | {% extends 'base.html' %} |
c3f0b49f | 2 | {% load adminmedia dae permissions %} |
5d5a57a4 OL |
3 | |
4 | {% block title %}RH - DAE - Embauche{% endblock %} | |
5 | {% block titre %}Ressources humaines{% endblock %} | |
47560eb5 | 6 | {% block sous_titre %}Demande d'autorisation d'engagement{% endblock %} |
5d5a57a4 OL |
7 | |
8 | {% block extrahead %} | |
63f8af95 OL |
9 | <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/dae.css" /> |
10 | <link rel="stylesheet" type="text/css" media="print" href="{{ STATIC_URL }}css/print.css" /> | |
36fc5c09 BS |
11 | <script src="{{ STATIC_URL }}js/jquery-1.5.1.min.js" |
12 | type="text/javascript"></script> | |
13 | <script type="text/javascript"> | |
14 | var DEVISES = {}; | |
15 | {% for d in devises %} | |
16 | DEVISES['{{d.devise_code}}'] = {{d.taux_euro|stringformat:"f"}}; | |
17 | {% endfor %} | |
18 | </script> | |
19 | <script src="{{ STATIC_URL }}js/dae.js" type="text/javascript"></script> | |
20 | <script src="{{ STATIC_URL }}js/remun.js" type="text/javascript"></script> | |
5d5a57a4 OL |
21 | {% endblock %} |
22 | ||
23 | {% block main %} | |
47560eb5 | 24 | <h1 class="gauche">Demande d'autorisation d'engagement de personnel</h1> |
64af1419 | 25 | <a class="droite bouton-action" href="#" onclick="window.print(); return false;">Impression</a> |
9536ea21 | 26 | {% if dossier|est_editable:request.user %} |
66fefd2f OL |
27 | <a class="droite bouton-action" href="{% url embauche dossier.poste.key dossier.id %}">Modifier le dossier</a> |
28 | {% endif %} | |
29 | {% if dossier.poste|est_editable:request.user %} | |
30 | <a class="droite bouton-action" href="{% url poste dossier.poste.key %}">Modifier le poste</a> | |
9536ea21 | 31 | {% endif %} |
580630f0 | 32 | {% if importer and not dossier.dossier_rh %} |
15930565 EMS |
33 | <a class="droite bouton-action" href="{% url embauche_importer dossier.id %}">Importer</a> |
34 | {% endif %} | |
0c5f7281 OL |
35 | <div class="visualClear"></div> |
36 | ||
5d5a57a4 OL |
37 | <h2 class="section">SECTION 1 - POSTE</h2> |
38 | {% with dossier.poste as poste %} | |
39 | {% include 'dae/poste_resume.html' %} | |
40 | {% endwith %} | |
41 | ||
42 | <h2 class="section">SECTION 2 - PERSONNEL ENGAGÉ</h2> | |
43 | <fieldset> | |
44 | <div> | |
45 | <div class="gauche"><h2>Personne</h2></div> | |
46 | <div class="droite"> | |
47 | <table class="droite"> | |
48 | <tbody> | |
49 | <tr> | |
50 | <th>Mobilité interne</th> | |
51 | <td colspan="3">{% if dossier.mobilite_interne %}oui{% else %}non{% endif %} | |
52 | </tr> | |
53 | </tbody> | |
54 | </table> | |
55 | </div> | |
56 | </div> | |
57 | <div class="clear"></div> | |
58 | <table id="form-employe"> | |
59 | <tbody> | |
60 | <tr> | |
61 | <th>Employé</th> | |
3afbf59e | 62 | <td colspan="5">{{ dossier.employe }} ({{ dossier.employe.genre }})</td> |
5d5a57a4 OL |
63 | </tr> |
64 | </tbody> | |
65 | </table> | |
66 | ||
67 | </fieldset> | |
68 | ||
69 | <fieldset> | |
70 | <h2>Comparaison salariale</h2> | |
71 | <span class="info">dans la région pour les employés occupant un poste similaire</span> | |
72 | <table> | |
483ab3e3 OL |
73 | <tbody> |
74 | <tr> | |
119bc407 OL |
75 | <th>Classement</th> |
76 | <th>Statut</th> | |
483ab3e3 OL |
77 | <th>Implantation</th> |
78 | <th>Employé</th> | |
79 | <th>Poste</th> | |
80 | <th>Salaire</th> | |
81 | <th>Salaire EUR</th> | |
82 | </tr> | |
320d7584 | 83 | {% for dc in comparaisons %} |
d2347952 | 84 | <tr class="gris-bkg"> |
119bc407 OL |
85 | <td>{{ dc.classement|default:"" }}</td> |
86 | <td>{{ dc.statut|default:"" }}</td> | |
483ab3e3 OL |
87 | <td>{{ dc.implantation }}</td> |
88 | <td>{{ dc.personne }}</td> | |
89 | <td>{{ dc.poste }}</td> | |
b9098c33 | 90 | <td>{{ dc.montant|floatformat:0 }} {{ dc.devise.code }}</td> |
e84c8ef1 | 91 | <td>{{ dc.montant_euros }} EUR</td> |
483ab3e3 | 92 | </tr> |
b9098c33 BS |
93 | {% if dc.dossier_comparaison_remunerations.count > 0 %} |
94 | <tr> | |
95 | <td colspan="1"> | |
96 | Rémunérations | |
97 | </td> | |
98 | <td colspan="6"> | |
99 | {% dossier_cmp_remun_form dc %} | |
100 | </td> | |
101 | </tr> | |
102 | {% endif %} | |
483ab3e3 | 103 | {% endfor %} |
b9098c33 BS |
104 | |
105 | ||
483ab3e3 | 106 | </tbody> |
a6eadec5 OL |
107 | </table> |
108 | </fieldset> | |
5d5a57a4 OL |
109 | |
110 | ||
483ab3e3 OL |
111 | <div id="form-dossier"> |
112 | {% comment %}Wrapper du formulaire de dossier{% endcomment %} | |
113 | {% include "dae/embauche-dossier-consulter.html" %} | |
114 | </div> | |
e6f52402 | 115 | |
483ab3e3 OL |
116 | <fieldset> |
117 | <h2>Pièces jointes</h2> | |
118 | <ul> | |
b15f7f52 | 119 | {% for pj in dossier.dae_dossierpieces.all %} |
67a94eaf EMS |
120 | <li><a href="{% url dossier_piece pj.id pj.fichier.name|basename %}">{{ pj.nom }}</a></li> |
121 | {% endfor %} | |
483ab3e3 OL |
122 | </ul> |
123 | ||
124 | </fieldset> | |
3799cafc | 125 | |
483ab3e3 OL |
126 | <h2 class="section">SECTION 3 - COÛT GLOBAL</h2> |
127 | ||
128 | <fieldset> | |
b9098c33 | 129 | {% remun_form dossier %} |
36fc5c09 BS |
130 | {% comment %} |
131 | <!-- <table cellspacing="0" id="global-cost"> --> | |
132 | <!-- {% include 'dae/embauche-remun-consulter.html' %} --> | |
133 | <!-- </table> --> | |
134 | {% endcomment %} | |
483ab3e3 OL |
135 | </fieldset> |
136 | ||
137 | <h2 class="section">SECTION 4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)</h2> | |
138 | <h3>A - Justification du poste</h3> | |
139 | <p>{{ poste.justification }}</p> | |
140 | ||
141 | <h3>B - Justification de l'employé</h3> | |
bf2ebebc | 142 | <table class="justifications"> |
483ab3e3 OL |
143 | <tr> |
144 | <th>Nouvel employé</th> | |
145 | <th>Renouvellement, prolongation, reclassement, mobilité interne</th> | |
146 | </tr> | |
147 | <tr> | |
148 | <td> | |
149 | <h4>{{ dossier.justif_nouveau_statut_label }}</h4> | |
bf2ebebc | 150 | <p>{{ dossier.justif_nouveau_statut|default:"∅" }} |
483ab3e3 | 151 | <h4>{{ dossier.justif_nouveau_tmp_remplacement_label }}</h4> |
bf2ebebc | 152 | <p>{{ dossier.justif_nouveau_tmp_remplacement|default:"∅" }}</p> |
483ab3e3 | 153 | <h4>{{ dossier.justif_nouveau_salaire_label }}</h4> |
bf2ebebc | 154 | <p>{{ dossier.justif_nouveau_salaire|default:"∅" }}</p> |
483ab3e3 | 155 | <h4>{{ dossier.justif_nouveau_commentaire_label }}</h4> |
bf2ebebc | 156 | <p>{{ dossier.justif_nouveau_commentaire|default:"∅" }}</p> |
483ab3e3 OL |
157 | </td> |
158 | <td> | |
159 | <h4>{{ dossier.justif_rempl_type_contrat_label }}</h4> | |
bf2ebebc | 160 | <p>{{ dossier.justif_rempl_type_contrat|default:"∅"}}</p> |
483ab3e3 | 161 | <h4>{{ dossier.justif_rempl_statut_employe_label }}</h4> |
bf2ebebc | 162 | <p>{{ dossier.justif_rempl_statut_employe|default:"∅"}}</p> |
483ab3e3 | 163 | <h4>{{ dossier.justif_rempl_evaluation_label }}</h4> |
bf2ebebc | 164 | <p>{{ dossier.justif_rempl_evaluation|default:"∅"}}</p> |
483ab3e3 | 165 | <h4>{{ dossier.justif_rempl_salaire_label }}</h4> |
bf2ebebc | 166 | <p>{{ dossier.justif_rempl_salaire|default:"∅" }}</p> |
483ab3e3 | 167 | <h4>{{ dossier.justif_rempl_commentaire_label }}</h4> |
bf2ebebc | 168 | <p>{{ dossier.justif_rempl_commentaire|default:"∅" }}</p> |
483ab3e3 OL |
169 | </td> |
170 | </tr> | |
171 | </table> | |
172 | ||
c3f0b49f | 173 | <h2 class="section">PIÈCES JOINTES</h2> |
9536ea21 | 174 | |
c3f0b49f | 175 | {% if dossier.valide %} |
9536ea21 EMS |
176 | <a class="droite bouton-action" href="{% url embauche_ajouter_contrat dossier_id=dossier.id %}" |
177 | >Ajouter un contrat</a> | |
c3f0b49f | 178 | <h3>Contrats</h3> |
9536ea21 EMS |
179 | |
180 | <table> | |
181 | <thead> | |
182 | <tr> | |
183 | <th>Type</th> | |
184 | <th>Fichier</th> | |
185 | <th></th> | |
186 | </tr> | |
187 | </thead> | |
188 | <tbody> | |
b15f7f52 | 189 | {% for contrat in dossier.dae_contrats.all %} |
9536ea21 | 190 | <tr> |
b15f7f52 | 191 | <td>{{ contrat.type_contrat }}</td> |
67a94eaf EMS |
192 | <td><a href="{% url contrat contrat.id contrat.fichier.name|basename %}" |
193 | >{{ contrat.fichier.name|basename }}</a></td> | |
9536ea21 EMS |
194 | <td><a href="{% url contrat_supprimer contrat.id %}">Supprimer</a></td> |
195 | </tr> | |
196 | {% empty %} | |
197 | <tr> | |
198 | <td colspan="0">Aucun contrat pour l'instant</td> | |
199 | </tr> | |
200 | {% endfor %} | |
201 | </tbody> | |
202 | </table> | |
203 | {% endif %} | |
204 | ||
c3f0b49f | 205 | <h3>DAE numérisée</h3> |
f7d00d6f EMS |
206 | <table> |
207 | <thead> | |
208 | <tr> | |
209 | <th>Fichier</th> | |
210 | {% ifhasperm 'modifier_dae_numerisee' dossier %} | |
211 | <th></th> | |
212 | {% endifhasperm %} | |
213 | </tr> | |
214 | </thead> | |
215 | <tbody> | |
216 | {% if dossier.dae_numerisee %} | |
f4e0dbc8 | 217 | <td><a href="{% url dae_numerisee dossier.id %}">Télécharger la DAE numérisée</a></td> |
f7d00d6f EMS |
218 | {% ifhasperm 'modifier_dae_numerisee' dossier %} |
219 | <td> | |
f4e0dbc8 | 220 | <a href="{% url dae_numerisee_supprimer dossier.id %}">Supprimer</a> |
f7d00d6f EMS |
221 | </td> |
222 | {% endifhasperm %} | |
223 | {% else %} | |
224 | <td>Aucune DAE numérisée pour l'instant</td> | |
225 | {% ifhasperm 'modifier_dae_numerisee' dossier %} | |
226 | <td> | |
f4e0dbc8 | 227 | <a href="{% url dae_numerisee_modifier dossier.id %}">Joindre une DAE numérisée</a> |
f7d00d6f EMS |
228 | </td> |
229 | {% endifhasperm %} | |
230 | {% endif %} | |
231 | </tbody> | |
232 | </table> | |
c3f0b49f | 233 | |
9536ea21 | 234 | <h2 class="section">VALIDATIONS</h2> |
483ab3e3 OL |
235 | |
236 | <table> | |
237 | <tr> | |
238 | <th>Action</th> | |
239 | <th>Commentaire</th> | |
240 | </tr> | |
241 | {% for commentaire in dossier.historique_desc %} | |
242 | {% include "dae/ligne_validation.html" %} | |
243 | {% endfor %} | |
244 | </table> | |
245 | ||
64af1419 | 246 | <form action="" method="post"> |
483ab3e3 OL |
247 | <h2>Votre validation (ou commentaire)</h2> |
248 | <p>Ce dossier est actuellement à l'état <span class="note">{{ dossier.get_etat_display }}</span>.</p> | |
249 | ||
483ab3e3 OL |
250 | <table> |
251 | {% if validationForm.get_etats_disponibles %}{{ validationForm.commentaire }}{% endif %} | |
252 | </table> | |
253 | {{ validationForm.get_input_etats_as_buttons|safe }} | |
254 | </form> | |
5d5a57a4 | 255 | |
64af1419 EMS |
256 | <div class="print-only"> |
257 | <h2>Signatures</h2> | |
258 | <p class="signature"> ____________________________________________________________</p> | |
259 | <p class="signature"> ____________________________________________________________</p> | |
260 | <p class="signature"> ____________________________________________________________</p> | |
261 | </div> | |
262 | ||
9536ea21 | 263 | {% endblock %} |