Commit | Line | Data |
---|---|---|
c0413a6f | 1 | {% extends 'base.html' %} |
286d0aa9 | 2 | {% load adminmedia dae %} |
c0413a6f OL |
3 | |
4 | {% block title %}RH - DAE - Poste{% endblock %} | |
5 | {% block titre %}Ressources humaines{% endblock %} | |
4ada572e | 6 | {% block sous_titre %}Demande d'autorisation d'engagement{% endblock %} |
c0413a6f OL |
7 | |
8 | {% block extrahead %} | |
b9098c33 BS |
9 | <script src="{{ STATIC_URL }}js/jquery-1.5.1.min.js" |
10 | type="text/javascript"></script> | |
11 | <script type="text/javascript"> | |
12 | var DEVISES = {}; | |
13 | {% for d in devises %} | |
14 | DEVISES['{{d.devise_code}}'] = {{d.taux_euro|stringformat:"f"}}; | |
15 | {% endfor %} | |
16 | </script> | |
17 | <script src="{{ STATIC_URL }}js/dae.js" type="text/javascript"></script> | |
18 | <script src="{{ STATIC_URL }}js/remun.js" type="text/javascript"></script> | |
63f8af95 OL |
19 | <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/dae.css" /> |
20 | <link rel="stylesheet" type="text/css" media="print" href="{{ STATIC_URL }}css/print.css" /> | |
c0413a6f OL |
21 | {% endblock %} |
22 | ||
23 | {% block main %} | |
e6f52402 | 24 | |
0c5f7281 | 25 | <h1 class="gauche">Demande d'autorisation de création de poste</h1> |
64af1419 | 26 | <a class="droite bouton-action" href="#" onclick="window.print(); return false;">Impression</a> |
6fcc7644 EMS |
27 | {% if poste|est_editable:request.user %} |
28 | <a class="droite bouton-action" href="{% url poste poste.key %}">Modifier</a> | |
29 | {% endif %} | |
580630f0 | 30 | {% if not poste.id_rh and importer %} |
6fcc7644 EMS |
31 | <a class="droite bouton-action" href="{% url poste_importer poste.id %}">Importer</a> |
32 | {% endif %} | |
0c5f7281 OL |
33 | <div class="visualClear"></div> |
34 | ||
41318fe7 | 35 | {% include "dae/poste_resume.html" %} |
e6f52402 OL |
36 | |
37 | <fieldset> | |
3799cafc | 38 | <h2>Validations</h2> |
e6f52402 | 39 | |
e13a5143 OL |
40 | <table> |
41 | <tr> | |
42 | <th>Action</th> | |
e13a5143 OL |
43 | <th>Commentaire</th> |
44 | </tr> | |
e6f52402 | 45 | {% for commentaire in poste.historique_desc %} |
e13a5143 | 46 | {% include "dae/ligne_validation.html" %} |
e6f52402 | 47 | {% endfor %} |
e13a5143 | 48 | </table> |
e6f52402 | 49 | |
66fefd2f | 50 | {% if not poste.dae_dossiers.all %} |
64af1419 | 51 | <form action="" method="post"> |
56589624 OL |
52 | <h2>Votre validation</h2> |
53 | <p>Le poste est actuellement à l'état : <span class="note">{{ poste.get_etat_display }}</span>.</p> | |
3799cafc | 54 | |
e6f52402 | 55 | <table> |
483ab3e3 | 56 | {% if validationForm.get_etats_disponibles %}{{ validationForm.commentaire }}{% endif %} |
e6f52402 | 57 | </table> |
56589624 | 58 | {{ validationForm.get_input_etats_as_buttons|safe }} |
e6f52402 | 59 | </form> |
66fefd2f OL |
60 | {% endif %} |
61 | ||
e6f52402 OL |
62 | </fieldset> |
63 | ||
66fefd2f | 64 | |
64af1419 EMS |
65 | <div class="print-only"> |
66 | <h2>Signatures</h2> | |
67 | <p class="signature"> ____________________________________________________________</p> | |
68 | <p class="signature"> ____________________________________________________________</p> | |
69 | <p class="signature"> ____________________________________________________________</p> | |
70 | </div> | |
e6f52402 | 71 | |
c0413a6f | 72 | {% endblock %} |