Commit | Line | Data |
---|---|---|
139686f2 | 1 | {% extends 'base.html' %} |
0e0aeb7e | 2 | {% load adminmedia %} |
139686f2 | 3 | |
e8e75458 | 4 | {% block title %}RH - DAE - Embauche{% endblock %} |
5 | {% block titre %}Ressources humaines{% endblock %} | |
47560eb5 | 6 | {% block sous_titre %}Demande d'autorisation d'engagement{% endblock %} |
e8e75458 | 7 | |
139686f2 | 8 | {% block extrahead %} |
63f8af95 | 9 | <script src="{{ STATIC_URL }}js/jquery-1.5.1.min.js" |
139686f2 | 10 | type="text/javascript"></script> |
da3ca955 | 11 | |
0a085c42 OL |
12 | <script type="text/javascript"> |
13 | var DEVISES = {}; | |
14 | {% for d in devises %} | |
15 | DEVISES['{{d.devise_code}}'] = {{d.taux_euro}}; | |
16 | {% endfor %} | |
17 | </script> | |
18 | ||
0e0aeb7e OL |
19 | {% comment %} style pour le calendier {% endcomment %} |
20 | <script type="text/javascript"> | |
21 | window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}"; | |
22 | </script> | |
63f8af95 OL |
23 | <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/calendrier.css" /> |
24 | <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/dae.css" /> | |
0e0aeb7e OL |
25 | <script type="text/javascript" src="/admin/jsi18n/"></script> |
26 | <script type="text/javascript" src="{% admin_media_prefix %}js/core.js"></script> | |
27 | <script type="text/javascript" src="{% admin_media_prefix %}js/calendar.js"></script> | |
28 | <script type="text/javascript" src="{% admin_media_prefix %}js/admin/DateTimeShortcuts.js"></script> | |
63f8af95 OL |
29 | <script src="{{ STATIC_URL }}jquery-autocomplete/jquery.autocomplete.js" type="text/javascript"></script> |
30 | <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}jquery-autocomplete/jquery.autocomplete.css" /> | |
31 | <script src="{{ STATIC_URL }}js/dae.js" type="text/javascript"></script> | |
32 | <script src="{{ STATIC_URL }}js/dae-embauche.js" type="text/javascript"></script> | |
139686f2 | 33 | {% endblock %} |
139686f2 NC |
34 | |
35 | {% block main %} | |
58ad4beb | 36 | |
47560eb5 | 37 | <h1>Demande d'autorisation d'engagement de personnel</h1> |
0db0aedd | 38 | <form action="" method="post" enctype="multipart/form-data"> |
da3ca955 | 39 | <h2 class="section">SECTION 1 - POSTE</h2> |
5b78da24 | 40 | {% include 'dae/poste_resume.html' %} |
9536ea21 | 41 | |
da3ca955 | 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"><input id="mobilite_interne" type="checkbox" name="mobilite_interne" /></td> | |
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> | |
62 | Employé :<br /> | |
63 | {{ forms.employe.employe.errors }} | |
64 | </th> | |
65 | <td colspan="5">{{ forms.employe.employe }}</td> | |
66 | </tr> | |
67 | <tr> | |
68 | <th> | |
69 | {{ forms.employe.nom.label_tag }} :<br /> | |
70 | {{ forms.employe.nom.errors }} | |
71 | </th> | |
72 | <td>{{ forms.employe.nom }}</td> | |
73 | <th> | |
74 | {{ forms.employe.prenom.label_tag }} :<br /> | |
75 | {{ forms.employe.prenom.errors }} | |
76 | </th> | |
77 | <td>{{ forms.employe.prenom }}</td> | |
78 | <th> | |
79 | {{ forms.employe.genre.label_tag }} :<br /> | |
80 | {{ forms.employe.genre.errors }} | |
81 | </th> | |
82 | <td>{{ forms.employe.genre }}</td> | |
83 | </tr> | |
84 | </tbody> | |
85 | </table> | |
86 | ||
9536ea21 | 87 | <input type="hidden" id="poste" name="poste" |
da3ca955 | 88 | value="dae-{{ poste.id }}" /> |
89 | <input type="hidden" id="implantation" name="implantation" | |
90 | value="{{ poste.implantation_id }}" /> | |
91 | <input type="hidden" id="dossier" name="dossier" | |
92 | value="{{ dossier.id }}" /> | |
93 | </fieldset> | |
94 | ||
7e43f9b6 OL |
95 | <fieldset> |
96 | <h2>Comparaison salariale</h2> | |
97 | <span class="info">dans la région pour les employés occupant un poste similaire</span> | |
320d7584 | 98 | {{ comparaisons_formset.management_form }} |
9536ea21 | 99 | |
320d7584 | 100 | {% for f in comparaisons_formset.forms %} |
03b395db OL |
101 | <table> |
102 | {% for field in f %} | |
103 | {% if field.is_hidden %}{{ field }}{% endif %} | |
104 | {% endfor %} | |
105 | ||
106 | <tr><td colspan=2>Rechercher (personne, poste) : {{ f.recherche }}</td></tr> | |
58ad4beb OL |
107 | <tr><th>{{ f.implantation.label }}</th><td>{{ f.implantation.errors }} {{ f.implantation }}</td></tr> |
108 | <tr><th>{{ f.poste.label }}</th><td>{{ f.poste.errors }} {{ f.poste }}</td></tr> | |
109 | <tr><th>{{ f.personne.label }}</th><td>{{ f.personne.errors }} {{ f.personne }}</td></tr> | |
119bc407 OL |
110 | <tr><th>{{ f.statut.label }}</th><td>{{ f.statut.errors }} {{ f.statut }}</td></tr> |
111 | <tr><th>{{ f.classement.label }}</th><td>{{ f.classement.errors }} {{ f.classement }}</td></tr> | |
112 | <tr><th>{{ f.montant.label }} ({{f.devise.label }})</th><td>{{ f.montant.errors }} {{ f.montant }} {{ f.devise.errors }} {{f.devise }}</td></tr> | |
03b395db OL |
113 | </table> |
114 | {% endfor %} | |
7e43f9b6 OL |
115 | </fieldset> |
116 | ||
117 | ||
179f6b49 OL |
118 | <div id="form-dossier"> |
119 | {% comment %}Wrapper du formulaire de dossier{% endcomment %} | |
72db8238 OL |
120 | {% with forms.dossier as form %} |
121 | {% include "dae/embauche-dossier.html" %} | |
122 | {% endwith %} | |
179f6b49 | 123 | </div> |
6b34f27e | 124 | |
dbb687ad OL |
125 | <fieldset> |
126 | <h2>Pièces jointes</h2> | |
127 | <p class="info">CV, lettre de motivation...</p> | |
128 | {% include "dae/pieces.html" %} | |
129 | </fieldset> | |
9536ea21 | 130 | |
0801327c NC |
131 | <h2 class="section">SECTION 3 - COÛT GLOBAL</h2> |
132 | ||
cb1d62b5 | 133 | <fieldset> |
cb1d62b5 | 134 | |
0a085c42 OL |
135 | <table cellspacing="0" id="global-cost"> |
136 | {% include 'dae/embauche-remun.html' %} | |
137 | </table> | |
138 | ||
139 | {% comment %} | |
140 | <select id="type-remun" name="type-remun"> | |
141 | <option value="">(Ajouter une ligne)</option> | |
142 | {% for tr in type_remun %} | |
143 | <option value="{{ tr.id }}">{{ tr.nom }}</option> | |
144 | {% endfor %} | |
145 | </select> | |
146 | {% endcomment %} | |
cb1d62b5 NC |
147 | |
148 | </fieldset> | |
149 | ||
0801327c | 150 | <h2 class="section">SECTION 4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)</h2> |
e289ef67 OL |
151 | <h3>A - Justification du poste</h3> |
152 | <p>{{ poste.justification }}</p> | |
153 | ||
154 | <h3>B - Justification de l'employé</h3> | |
72db8238 OL |
155 | <table> |
156 | <tr> | |
29dffede OL |
157 | <th>Nouvel employé</th> |
158 | <th>Renouvellement, prolongation, reclassement, mobilité interne</th> | |
72db8238 OL |
159 | </tr> |
160 | <tr> | |
29dffede OL |
161 | <td> |
162 | <h4>{{ forms.dossier.justif_nouveau_statut.label }}</h4> | |
163 | {{ forms.dossier.justif_nouveau_statut }} | |
164 | <h4>{{ forms.dossier.justif_nouveau_tmp_remplacement.label }}</h4> | |
165 | {{ forms.dossier.justif_nouveau_tmp_remplacement }} | |
166 | <h4>{{ forms.dossier.justif_nouveau_salaire.label }}</h4> | |
167 | {{ forms.dossier.justif_nouveau_salaire }} | |
168 | <h4>{{ forms.dossier.justif_nouveau_commentaire.label }}</h4> | |
169 | {{ forms.dossier.justif_nouveau_commentaire }} | |
72db8238 OL |
170 | </td> |
171 | <td> | |
29dffede OL |
172 | <h4>{{ forms.dossier.justif_rempl_type_contrat.label }}</h4> |
173 | {{ forms.dossier.justif_rempl_type_contrat}} | |
174 | <h4>{{ forms.dossier.justif_rempl_statut_employe.label }}</h4> | |
175 | {{ forms.dossier.justif_rempl_statut_employe}} | |
176 | <h4>{{ forms.dossier.justif_rempl_evaluation.label }}</h4> | |
177 | {{ forms.dossier.justif_rempl_evaluation}} | |
178 | <h4>{{ forms.dossier.justif_rempl_salaire.label }}</h4> | |
179 | {{ forms.dossier.justif_rempl_salaire }} | |
180 | <h4>{{ forms.dossier.justif_rempl_commentaire.label }}</h4> | |
181 | {{ forms.dossier.justif_rempl_commentaire }} | |
72db8238 OL |
182 | </td> |
183 | </tr> | |
184 | </table> | |
9536ea21 | 185 | |
6147b497 | 186 | <input type="submit" name="continue" value="Sauvegarder (et ajouter des lignes)" /> |
139686f2 | 187 | <input type="submit" name="save" value="Sauvegarder" /> |
cb1d62b5 | 188 | </form> |
139686f2 NC |
189 | {% endblock %} |
190 |