X-Git-Url: http://git.auf.org/?p=auf_rh_dae.git;a=blobdiff_plain;f=project%2Fdae%2Ftemplates%2Fdae%2Fembauche_consulter.html;h=a8b585affc31e93853c7122e2cc3f4234bedd677;hp=14ac4753133c3858de207332cd54ccb21df9b5c9;hb=d2347952f6fa65e66d9196a5d6e7e6101a7d0029;hpb=3afbf59ee19602387ca3b64e4ad7442a90dc1cfa
diff --git a/project/dae/templates/dae/embauche_consulter.html b/project/dae/templates/dae/embauche_consulter.html
index 14ac475..a8b585a 100644
--- a/project/dae/templates/dae/embauche_consulter.html
+++ b/project/dae/templates/dae/embauche_consulter.html
@@ -1,18 +1,37 @@
{% extends 'base.html' %}
-{% load adminmedia dae %}
+{% load adminmedia dae permissions %}
{% block title %}RH - DAE - Embauche{% endblock %}
{% block titre %}Ressources humaines{% endblock %}
{% block sous_titre %}Demande d'autorisation d'engagement{% endblock %}
{% block extrahead %}
-
+
+
+
+
+
+
{% endblock %}
{% block main %}
Demande d'autorisation d'engagement de personnel
-Format impression
-{% if dossier|est_editable:request.user %}Modifier {% endif %}
+Impression
+{% if dossier|est_editable:request.user %}
+Modifier le dossier
+{% endif %}
+{% if dossier.poste|est_editable:request.user %}
+Modifier le poste
+{% endif %}
+{% if importer and not dossier.dossier_rh %}
+Importer
+{% endif %}
SECTION 1 - POSTE
@@ -61,17 +80,29 @@
Salaire
Salaire EUR
- {% for dc in dossier.comparaisons.all %}
-
+ {% for dc in comparaisons %}
+
{{ dc.classement|default:"" }}
{{ dc.statut|default:"" }}
{{ dc.implantation }}
{{ dc.personne }}
{{ dc.poste }}
- {{ dc.montant|floatformat:0 }} {{ dc.devise }}
- {{ dc.montant_euros|floatformat:0 }} EUR
+ {{ dc.montant|floatformat:0 }} {{ dc.devise.code }}
+ {{ dc.montant_euros }} EUR
+
+ {% if dc.dossier_comparaison_remunerations.count > 0 %}
+
+
+ Rémunérations
+
+
+ {% dossier_cmp_remun_form dc %}
+
+ {% endif %}
{% endfor %}
+
+
@@ -85,9 +116,9 @@
Pièces jointes
- {% for pj in dossier.dossierpiece_set.all %}
- {{ pj.nom }}
- {% endfor %}
+ {% for pj in dossier.dae_dossierpieces.all %}
+ {{ pj.nom }}
+ {% endfor %}
@@ -95,9 +126,12 @@
SECTION 3 - COÃT GLOBAL
-
- {% include 'dae/embauche-remun-consulter.html' %}
-
+ {% remun_form dossier %}
+ {% comment %}
+
+
+
+ {% endcomment %}
SECTION 4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)
@@ -136,8 +170,68 @@
-
-Validations
+PIÃCES JOINTES
+
+{% if dossier.valide %}
+Ajouter un contrat
+Contrats
+
+
+
+
+ Type
+ Fichier
+
+
+
+
+ {% for contrat in dossier.dae_contrats.all %}
+
+ {{ contrat.type_contrat }}
+ {{ contrat.fichier.name|basename }}
+ Supprimer
+
+ {% empty %}
+
+ Aucun contrat pour l'instant
+
+ {% endfor %}
+
+
+{% endif %}
+
+DAE numérisée
+
+
+
+ Fichier
+ {% ifhasperm 'modifier_dae_numerisee' dossier %}
+
+ {% endifhasperm %}
+
+
+
+ {% if dossier.dae_numerisee %}
+ Télécharger la DAE numérisée
+ {% ifhasperm 'modifier_dae_numerisee' dossier %}
+
+ Supprimer
+
+ {% endifhasperm %}
+ {% else %}
+ Aucune DAE numérisée pour l'instant
+ {% ifhasperm 'modifier_dae_numerisee' dossier %}
+
+ Joindre une DAE numérisée
+
+ {% endifhasperm %}
+ {% endif %}
+
+
+
+VALIDATIONS
@@ -149,16 +243,21 @@
{% endfor %}
+
-
-
-{% endblock %}
+
+
Signatures
+
____________________________________________________________
+
____________________________________________________________
+
____________________________________________________________
+
+
+{% endblock %}