fix infos manqunates
[auf_rh_dae.git] / project / dae / templates / dae / embauche.html
CommitLineData
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 %}
6{% block sous_titre %}Demande d'autorisation d'embauche{% endblock %}
7
139686f2
NC
8{% block extrahead %}
9 <script src="{{ MEDIA_URL }}js/jquery-1.5.1.min.js"
10 type="text/javascript"></script>
da3ca955 11
0e0aeb7e
OL
12 {% comment %} style pour le calendier {% endcomment %}
13 <script type="text/javascript">
14 window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";
15 </script>
16 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/calendrier.css" />
9d1253e9 17 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/dae.css" />
0e0aeb7e
OL
18 <script type="text/javascript" src="/admin/jsi18n/"></script>
19 <script type="text/javascript" src="{% admin_media_prefix %}js/core.js"></script>
20 <script type="text/javascript" src="{% admin_media_prefix %}js/calendar.js"></script>
21 <script type="text/javascript" src="{% admin_media_prefix %}js/admin/DateTimeShortcuts.js"></script>
03b395db
OL
22 <script src="{{ MEDIA_URL }}jquery-autocomplete/jquery.autocomplete.js" type="text/javascript"></script>
23 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}jquery-autocomplete/jquery.autocomplete.css" />
dfc31755
OL
24 <script src="{{ MEDIA_URL }}js/dae.js" type="text/javascript"></script>
25 <script src="{{ MEDIA_URL }}js/dae-embauche.js" type="text/javascript"></script>
139686f2 26{% endblock %}
139686f2
NC
27
28{% block main %}
da3ca955 29<h1>Demandes d'autorisation d'engagement de personnel</h1>
0db0aedd 30<form action="" method="post" enctype="multipart/form-data">
da3ca955 31{% if step == 'poste' %}
32 <h2 class="section">SECTION 1 - POSTE</h2>
33 <fieldset>
34 <h2>Poste visé</h2>
35
36 <table cellspacing="0">
139686f2 37 {{ form.as_table }}
da3ca955 38 </table>
39 </fieldset>
da3ca955 40{% else %}
41 <h2 class="section">SECTION 1 - POSTE</h2>
5b78da24 42 {% include 'dae/poste_resume.html' %}
da3ca955 43
44 <h2 class="section">SECTION 2 - PERSONNEL ENGAGÉ</h2>
45 <fieldset>
46 <div>
47 <div class="gauche"><h2>Personne</h2></div>
48 <div class="droite">
49 <table class="droite">
50 <tbody>
51 <tr>
52 <th>Mobilité interne</th>
53 <td colspan="3"><input id="mobilite_interne" type="checkbox" name="mobilite_interne" /></td>
54 </tr>
55 </tbody>
56 </table>
57 </div>
58 </div>
59 <div class="clear"></div>
60 <table id="form-employe">
61 <tbody>
62 <tr>
63 <th>
64 Employé :<br />
65 {{ forms.employe.employe.errors }}
66 </th>
67 <td colspan="5">{{ forms.employe.employe }}</td>
68 </tr>
69 <tr>
70 <th>
71 {{ forms.employe.nom.label_tag }} :<br />
72 {{ forms.employe.nom.errors }}
73 </th>
74 <td>{{ forms.employe.nom }}</td>
75 <th>
76 {{ forms.employe.prenom.label_tag }} :<br />
77 {{ forms.employe.prenom.errors }}
78 </th>
79 <td>{{ forms.employe.prenom }}</td>
80 <th>
81 {{ forms.employe.genre.label_tag }} :<br />
82 {{ forms.employe.genre.errors }}
83 </th>
84 <td>{{ forms.employe.genre }}</td>
85 </tr>
86 </tbody>
87 </table>
88
89 <input type="hidden" id="poste" name="poste"
90 value="dae-{{ poste.id }}" />
91 <input type="hidden" id="implantation" name="implantation"
92 value="{{ poste.implantation_id }}" />
93 <input type="hidden" id="dossier" name="dossier"
94 value="{{ dossier.id }}" />
95 </fieldset>
96
7e43f9b6
OL
97 <fieldset>
98 <h2>Comparaison salariale</h2>
99 <span class="info">dans la région pour les employés occupant un poste similaire</span>
03b395db
OL
100 {% for f in dossiersComparaisonsForm.management_form %}
101 {{ f }}
102 {% endfor %}
103
104 {% for f in dossiersComparaisonsForm.forms %}
105 <table>
106 {% for field in f %}
107 {% if field.is_hidden %}{{ field }}{% endif %}
108 {% endfor %}
109
110 <tr><td colspan=2>Rechercher (personne, poste) : {{ f.recherche }}</td></tr>
111 <tr><th>{{ f.implantation.label }}</th><td>{{ f.implantation }}</td></tr>
112 <tr><th>{{ f.poste.label }}</th><td>{{ f.poste }}</td></tr>
113 <tr><th>{{ f.personne.label }}</th><td>{{ f.personne }}</td></tr>
114 <tr><th>{{ f.montant.label }} ({{f.devise.label }})</th><td>{{ f.montant }} {{f.devise }} ({{ f.montant_euros }} EUR)</td></tr>
115 </table>
116 {% endfor %}
7e43f9b6
OL
117 </fieldset>
118
119
179f6b49
OL
120 <div id="form-dossier">
121 {% comment %}Wrapper du formulaire de dossier{% endcomment %}
72db8238
OL
122 {% with forms.dossier as form %}
123 {% include "dae/embauche-dossier.html" %}
124 {% endwith %}
179f6b49 125 </div>
6b34f27e 126
dbb687ad
OL
127 <fieldset>
128 <h2>Pièces jointes</h2>
129 <p class="info">CV, lettre de motivation...</p>
130 {% include "dae/pieces.html" %}
131 </fieldset>
132
0801327c
NC
133 <h2 class="section">SECTION 3 - COÛT GLOBAL</h2>
134
cb1d62b5 135 <fieldset>
cb1d62b5
NC
136
137 {% if new %}
138 <p>
139 Vous devez enregister ce dossier avant de pouvoir détailler le
140 coût global.
141 </p>
142 {% else %}
143 <table cellspacing="0" id="global-cost">
144 {% include 'dae/embauche-remun.html' %}
145 </table>
146
147 <select id="type-remun" name="type-remun">
148 <option value="">(Ajouter une ligne)</option>
149 {% for tr in type_remun %}
150 <option value="{{ tr.id }}">{{ tr.nom }}</option>
151 {% endfor %}
152 </select>
153 {% endif %}
154
155 </fieldset>
156
0801327c 157 <h2 class="section">SECTION 4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)</h2>
e289ef67
OL
158 <h3>A - Justification du poste</h3>
159 <p>{{ poste.justification }}</p>
160
161 <h3>B - Justification de l'employé</h3>
72db8238
OL
162 <p class="info">Les questions posées pour la justification apparaîtront après avoir enregistré le dossier.</p>
163 <table>
164 <tr>
165 <th>NOUVEL EMPLOYÉ</th>
166 <th>RENOUVELLEMENT, PROLONGATION, RECLASSEMENT, MOBILITÉ INTERNE</th>
167 </tr>
168 <tr>
169 <td>
170 {% with justificationsNouveauForm as form %}
171 {% include "dae/justifications.html" %}
172 {% endwith %}
173 </td>
174 <td>
175 {% with justificationsAutreForm as form %}
176 {% include "dae/justifications.html" %}
177 {% endwith %}
178 </td>
179 </tr>
180 </table>
5bc760f9 181 <input type="submit" name="continue" value="Sauvegarder et continuer" />
139686f2 182 <input type="submit" name="save" value="Sauvegarder" />
cb1d62b5 183 </form>
cb1d62b5 184 {% endif %}
139686f2
NC
185{% endblock %}
186