{% extends 'backoffice/base.html' %} {% block title %} Employé {{employee.cuser.user.first_name}} {{employee.cuser.user.last_name}} {% endblock %} {% block metaseo %} {% endblock %} {% block content %}
  • AZ
  • Employés
  • {{employee.cuser.user.first_name}} {{employee.cuser.user.last_name}}
{% if employee.state == "INITIAL" and user.cuser.type == "EMPLOYEE" %} {% endif %} {% if employee.state == "PENDING" %} {% if user.cuser.type == "CUSTOMER_DRH" %} {% endif %} {% endif %} {% if employee.state == "SUBMITTED" %} {% if user.cuser.type == "ADMIN" or user.cuser.type == "ADMIN_PROD" or user.cuser.type == "ADMIN_PRESTA" %} {% endif %} {% endif %} {% comment %} {% endcomment %}

{{employee.contract.libelle}} - {{employee.cuser.user.first_name}} {{employee.cuser.user.last_name}}

{% comment %} States {% endcomment %} État de la souscription:   {% if employee.state == "INITIAL" %} Initial {% endif %} {% if employee.state == "PENDING" %} En attente de validation {% endif %} {% if employee.state == "SUBMITTED" %} Soumis {% endif %} {% if employee.state == "ACCEPTED" %} Validé {% endif %}
{% csrf_token %}
{% for group in form %}
{{group.name}}
{% for gf in group.fields %}
{% for field in gf %} {% if field.type == 'input' or field.type == 'text' or field.type == 'email' or field.type == "tel" or field.type == "number" %}

{% comment %} {% endcomment %}

{% endif %} {% if field.type == 'date' %}

{% endif %} {% if field.type == 'select' %}
{% endif %} {% endfor %}
{% endfor %}
{% endfor %} {% if user.cuser.type == "ADMIN" or user.cuser.type == "ADMIN_PROD" or user.cuser.type == "ADMIN_PRESTA" %} {% comment %}


{% endcomment %} {% endif %}
Bénéficiaires
{% if benefs %} {% for b in benefs %}

{% if user.cuser.type == "EMPLOYEE" %} Supprimer {% endif %}

{% endfor %} {% else %} {% if user.cuser.type == "EMPLOYEE" and employee.clause == "SPECIFIC" %} {% elif user.cuser.type != "EMPLOYEE" %}
Aucun bénéficiaire n'est ajouté.
{% endif %} {% endif %}

{% if user.cuser.type == "EMPLOYEE" %} Ajouter un nouveau bénéficiaires {% endif %}
{% for groupedQuestion in questions %}
{{groupedQuestion.title}}
{% for field in groupedQuestion.items %}
{% if field.type == 'text' or field.type == 'email' or field.type == "tel" or field.type == "number" %}

{% comment %} {% endcomment %}

{% endif %} {% if field.type == 'date' %}

{% endif %} {% if field.type == 'select' %}
{% endif %} {% if field.type == 'radio' %}
{% endif %}
{% comment %} SUB question {% endcomment %} {% for field in field.subQuestion.all %}
{% if field.type == 'text' or field.type == 'email' or field.type == "tel" or field.type == "number" %}

{% comment %} {% endcomment %}

{% endif %} {% if field.type == 'date' %}

{% endif %} {% if field.type == 'select' %}
{% endif %} {% if field.type == 'radio' %}
{% endif %}
{% endfor %} {% endfor %} {% endfor %}

{% endblock content %}