1 {% extends 'base.html' %}
3 {% block title %}RH - DAE{% endblock %}
4 {% block titre %}Ressources humaines{% endblock %}
5 {% block sous_titre %}Demande d'autorisation d'embauche{% endblock %}
8 <script src=
"{{ MEDIA_URL }}js/jquery-1.5.1.min.js"
9 type=
"text/javascript"></script>
10 <script src=
"{{ MEDIA_URL }}js/jquery-ui-1.8.11.custom.min.js"
11 type=
"text/javascript"></script>
12 <link href=
"{{ MEDIA_URL }}/css/redmond/jquery-ui-1.8.11.custom.css"
17 <h1>Demande d'autorisation de création de poste
</h1>
24 Mise à jour du poste : {{ poste }}
29 <form action=
"" method=
"post">
30 <table cellspacing=
"0">
33 <input type=
"submit" name=
"save" value=
"Sauvegarder" />
38 <table cellspacing=
"0" id=
"financing">
47 {% for fin in poste.financements.all %}
49 <td>{{ fin.type }}
</td>
50 <td>{{ fin.montant }}
</td>
51 <td>{{ fin.devise }}
</td>
52 <td>{{ fin.pourcentage }}
</td>
53 <td>{{ fin.commentaire }}
</td>
54 <td><a href=
"{% url financement poste_key fin.id %}">Modifier
</a></td>
60 Vous devez enregister ce nouveau poste avant de pouvoir spécifier
61 la ou les sources de financement.
63 Aucun financement au registre
70 <a href=
"{% url financement poste_key %}" class=
"new">
71 Ajouter une source de financement
75 <div id=
"financing-form"></div>
77 <script type=
"text/javascript">
78 $('#id_poste').change(function() {
79 window.location = '{% url poste %}/' + $(this).val();
81 $('#financing a, a.new').click(function() {
82 $('#financing-form').load($(this).attr('href') + '?ajax=
1')