</tr>
<tr>
<th>Classement proposé</th>
- <th colspan="3">Salaire proposé</th>
- <td colspan="2"></td>
+ <th colspan="6">Salaire proposé <span class="info">(fourchette du poste : {{ dossier.poste.salaire_min }} {{ dossier.poste.devise_min.code }}
+ - {{ dossier.poste.salaire_max }} {{ dossier.poste.devise_max.code }})</span>
+</th>
</tr>
<tr>
<td>{{ dossier.classement }}</td>
- <td>{{ dossier.salaire }} {{ dossier.devise.code }} <span class="info">(fourchette du poste : {{ dossier.poste.salaire_min }} {{ dossier.poste.devise_min.code }}
- - {{ dossier.poste.salaire_max }} {{ dossier.poste.devise_max.code }})</span>
- </td>
- <td id="salaire-propose-euros" class="montant">{{ dossier.get_salaire_euros }}</td>
- <td>€</td>
- <td colspan="2"></td>
+ <td colspan="2">{{ dossier.salaire }} {{ dossier.devise.code }} </td>
+ <td colspan="4" id="salaire-propose-euros" class="montant">{{ dossier.get_salaire_euros }} €</td>
</tr>
</tbody>
</table>
--- /dev/null
+<html>
+
+<head>
+ <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/pdf.css" />
+ <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/dae.css" />
+ <style>{{ css }}</style>
+</head>
+
+<body>
+<h1>Demandes d'autorisation d'engagement de personnel</h1>
+
+<h2 class="section">SECTION 1 - POSTE</h2>
+{% with dossier.poste as poste %}
+{% include 'dae/poste_resume.html' %}
+{% endwith %}
+
+<h2 class="section">SECTION 2 - PERSONNEL ENGAGÉ</h2>
+<fieldset>
+<div>
+ <div class="gauche"><h2>Personne</h2></div>
+ <div class="droite">
+ <table class="droite">
+ <tbody>
+ <tr>
+ <th>Mobilité interne</th>
+ <td colspan="3">{% if dossier.mobilite_interne %}oui{% else %}non{% endif %}
+ </tr>
+ </tbody>
+ </table>
+ </div>
+</div>
+<div class="clear"></div>
+<table id="form-employe">
+ <tbody>
+ <tr>
+ <th>Employé</th>
+ <td>{{ dossier.employe }}</td>
+ </tr>
+ </tbody>
+</table>
+
+</fieldset>
+
+<fieldset>
+<h2>Comparaison salariale</h2>
+<span class="info">dans la région pour les employés occupant un poste similaire</span>
+<table>
+ <tbody>
+ <tr>
+ <th>Implantation</th>
+ <th>Employé</th>
+ <th>Poste</th>
+ <th>Salaire</th>
+ <th>Salaire EUR</th>
+ </tr>
+ {% for dc in dossier.comparaisons.all %}
+ <tr>
+ <td>{{ dc.implantation }}</td>
+ <td>{{ dc.personne }}</td>
+ <td>{{ dc.poste }}</td>
+ <td>{{ dc.montant }} {{ dc.devise }}</td>
+ <td>{{ dc.montant_euros }} EUR</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+</fieldset>
+
+
+<div id="form-dossier">
+ {% comment %}Wrapper du formulaire de dossier{% endcomment %}
+ {% include "dae/embauche-dossier-consulter.html" %}
+</div>
+
+<fieldset>
+ <h2>Pièces jointes</h2>
+ <ul>
+ {% for pj in dossier.dossierpiece_set.all %}
+ <li><a href="{{ pj.fichier.url }}" target="_blank">{{ pj.nom }}</a></li>
+ {% endfor %}
+ </ul>
+
+</fieldset>
+
+<h2 class="section">SECTION 3 - COÛT GLOBAL</h2>
+
+<fieldset>
+ <table cellspacing="0" id="global-cost">
+ {% include 'dae/embauche-remun-consulter.html' %}
+ </table>
+</fieldset>
+
+<h2 class="section">SECTION 4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)</h2>
+<h3>A - Justification du poste</h3>
+<p>{{ poste.justification }}</p>
+
+<h3>B - Justification de l'employé</h3>
+<p class="info">Les questions posées pour la justification apparaîtront après avoir enregistré le dossier.</p>
+<table>
+ <tbody>
+ <tr>
+ <th>NOUVEL EMPLOYÉ</th>
+ <th>RENOUVELLEMENT, PROLONGATION, RECLASSEMENT, MOBILITÉ INTERNE</th>
+ </tr>
+ <tr>
+ <td>
+ {% for j in dossier.justificationnouvelemploye_set.all %}
+ <h4>{{ j.question }}</h4>
+ <p>{{ j.reponse }}</p>
+ {% endfor %}
+ </td>
+ <td>
+ {% for j in dossier.justificationautreemploye_set.all %}
+ <h4>{{ j.question }}</h4>
+ <p>{{ j.reponse }}</p>
+ {% endfor %}
+ </td>
+ </tr>
+ </tbody>
+</table>
+
+<fieldset>
+<h2>Validation</h2>
+
+<ul>
+{% for commentaire in dossier.historique_desc %}
+ <li>{{ commentaire }}</li>
+{% endfor %}
+</ul>
+</fieldset>
+
+<fieldset>
+<h2>Signatures</h2>
+
+<p class="signature"> ____________________________________________________________</p>
+<p class="signature"> ____________________________________________________________</p>
+<p class="signature"> ____________________________________________________________</p>
+</fieldset>
+
+</body>
+</html>
'dossier' : dossier,
'validationForm' : validationForm,
}
- return render_to_response('dae/embauche_consulter.html', vars, RequestContext(request))
+
+ mode = request.GET.get('mode', None)
+ if mode is None:
+ return render_to_response('dae/embauche_consulter.html', vars, RequestContext(request))
+ if mode == 'pdf':
+ return reponse_pdf('dae/embauche_pdf.html', vars)
+ if mode == 'vpdf':
+ return render_to_response('dae/embauche_pdf.html', vars, RequestContext(request))
@dae_groupe_requis
@dossier_dans_ma_region_ou_service