1 {% extends 'base.html' %}
4 {% block title %}RH - DAE - Embauche{% endblock %}
5 {% block titre %}Ressources humaines{% endblock %}
6 {% block sous_titre %}Demande d'autorisation d'embauche{% endblock %}
9 <script src=
"{{ MEDIA_URL }}js/jquery-1.5.1.min.js"
10 type=
"text/javascript"></script>
12 {% comment %} style pour le calendier {% endcomment %}
13 <script type=
"text/javascript">
14 window.__admin_media_prefix__ =
"{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";
16 <link rel=
"stylesheet" type=
"text/css" href=
"{{ MEDIA_URL }}css/calendrier.css" />
17 <script type=
"text/javascript" src=
"/admin/jsi18n/"></script>
18 <script type=
"text/javascript" src=
"{% admin_media_prefix %}js/core.js"></script>
19 <script type=
"text/javascript" src=
"{% admin_media_prefix %}js/calendar.js"></script>
20 <script type=
"text/javascript" src=
"{% admin_media_prefix %}js/admin/DateTimeShortcuts.js"></script>
21 <script src=
"{{ MEDIA_URL }}js/dae.js" type=
"text/javascript"></script>
22 <script src=
"{{ MEDIA_URL }}js/dae-embauche.js" type=
"text/javascript"></script>
27 background-color: #D0E8F8;
30 margin:
50px
0px
26px
0px;
31 border-bottom:
3px solid #BBD8EC;
34 .row {padding:
10px
0px; clear: both; display:block;}
35 .row * {float: left; margin:
0px; padding:
0px; margin-right:
4px;}
36 .row li {list-style-type: none;}
37 .underline {text-decoration: underline;}
38 .clear {display: block; clear: both;}
39 .note {text-decoration: underline; font-style: italic; margin-left:
12px;}
40 .info {font-size:
13px; font-style: italic;}
41 .noborder {border:none; margin:
0; padding;
0}
42 tr.noborder td {border:none; padding-left:
0;}
43 .gauche { float:left; }
44 .droite { float:right; text-align:right; }
45 .clear { clear:both; width:
100%; }
46 th ul.errorlist {float: right;}
51 <h1>Demandes d'autorisation d'engagement de personnel
</h1>
52 <form action=
"" method=
"post" enctype=
"multipart/form-data">
53 {% if step == 'poste' %}
54 <h2 class=
"section">SECTION
1 - POSTE
</h2>
58 <table cellspacing=
"0">
63 <h2 class=
"section">SECTION
1 - POSTE
</h2>
65 <h2>Poste : {{ poste.nom }} ({{ poste.implantation.nom }})
</h2>
69 <h2 class=
"section">SECTION
2 - PERSONNEL ENGAGÉ
</h2>
72 <div class=
"gauche"><h2>Personne
</h2></div>
74 <table class=
"droite">
77 <th>Mobilité interne
</th>
78 <td colspan=
"3"><input id=
"mobilite_interne" type=
"checkbox" name=
"mobilite_interne" /></td>
84 <div class=
"clear"></div>
85 <table id=
"form-employe">
90 {{ forms.employe.employe.errors }}
92 <td colspan=
"5">{{ forms.employe.employe }}
</td>
96 {{ forms.employe.nom.label_tag }} :
<br />
97 {{ forms.employe.nom.errors }}
99 <td>{{ forms.employe.nom }}
</td>
101 {{ forms.employe.prenom.label_tag }} :
<br />
102 {{ forms.employe.prenom.errors }}
104 <td>{{ forms.employe.prenom }}
</td>
106 {{ forms.employe.genre.label_tag }} :
<br />
107 {{ forms.employe.genre.errors }}
109 <td>{{ forms.employe.genre }}
</td>
114 <input type=
"hidden" id=
"poste" name=
"poste"
115 value=
"dae-{{ poste.id }}" />
116 <input type=
"hidden" id=
"implantation" name=
"implantation"
117 value=
"{{ poste.implantation_id }}" />
118 <input type=
"hidden" id=
"dossier" name=
"dossier"
119 value=
"{{ dossier.id }}" />
122 <div id=
"form-dossier">
123 {% comment %}Wrapper du formulaire de dossier{% endcomment %}
124 {% with forms.dossier as form %}
125 {% include
"dae/embauche-dossier.html" %}
130 <h2>Pièces jointes
</h2>
131 <p class=
"info">CV, lettre de motivation...
</p>
132 {% include
"dae/pieces.html" %}
135 <h2 class=
"section">SECTION
3 - COÛT GLOBAL
</h2>
141 Vous devez enregister ce dossier avant de pouvoir détailler le
145 <table cellspacing=
"0" id=
"global-cost">
146 {% include 'dae/embauche-remun.html' %}
149 <select id=
"type-remun" name=
"type-remun">
150 <option value=
"">(Ajouter une ligne)
</option>
151 {% for tr in type_remun %}
152 <option value=
"{{ tr.id }}">{{ tr.nom }}
</option>
159 <h2 class=
"section">SECTION
4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)
</h2>
160 <p class=
"info">Les questions posées pour la justification apparaîtront après avoir enregistré le dossier.
</p>
163 <th>NOUVEL EMPLOYÉ
</th>
164 <th>RENOUVELLEMENT, PROLONGATION, RECLASSEMENT, MOBILITÉ INTERNE
</th>
168 {% with justificationsNouveauForm as form %}
169 {% include
"dae/justifications.html" %}
173 {% with justificationsAutreForm as form %}
174 {% include
"dae/justifications.html" %}
179 <input type=
"submit" name=
"save" value=
"Sauvegarder" />