{% extends '@EasyAdmin/page/content.html.twig' %} {% block content_title %} Demandes Clients {% endblock %} {% block page_title %} {{ block('content_title') }} {% endblock %} {% block main %}
{% for etat in status %} {% endfor %} {% for form in clientDemandes %} {% if form['title'] != '' %} {% for etat in status %} {% set count = 0 %} {% endfor %} {% endif %} {% endfor %}
Demande Nombre de demandes {{etat.label}}
{{ form['title'] }} {{ form['count'] }} {% for metat in etats %} {% if metat.title == form['title'] and metat.label == etat.label %} {% set count = metat.counte %} {% endif %} {% endfor %} {{ count }}
{% for form in noFform %} {% if form.etat != null %} {% else %} {% endif %} {% if form.historyContacts|length > 0 %} {% else %} {% endif %} {# #} {% endfor %}
Demande IP, Adresse MAC Entreprise Client Etat Contact Date de création Action
{{ loop.index }} {{ form.title }} {{ form.ip }}
{{ form.mac }}

{% set jsondata = form.getJsonData() %}

{% if jsondata[form.title] is defined %} {% for stepTitle in jsondata[form.title]|keys %} {% for nomQuestion in jsondata[form.title][stepTitle]|keys %} {% if 'entreprise_' in nomQuestion and jsondata[form.title][stepTitle][nomQuestion]['reponse'] is not empty %} {% if 'dénomination' in nomQuestion and jsondata[form.title][stepTitle][nomQuestion]['reponse'] is not empty %} Nom : {% elseif 'effectif' in nomQuestion and jsondata[form.title][stepTitle][nomQuestion]['reponse'] is not empty %} Membre : {% endif %} {{jsondata[form.title][stepTitle][nomQuestion]['reponse']}}
{% endif %} {% endfor %} {% endfor %} {% endif %}

{% if jsondata[form.title] is defined %} {% for stepTitle in jsondata[form.title]|keys %} {% for nomQuestion in jsondata[form.title][stepTitle]|keys %} {% if 'contact_' in nomQuestion and jsondata[form.title][stepTitle][nomQuestion]['reponse'] is not empty %} {% if 'prenom' in nomQuestion and jsondata[form.title][stepTitle][nomQuestion]['reponse'] is not empty %} Prénom : {% elseif 'nom' in nomQuestion and jsondata[form.title][stepTitle][nomQuestion]['reponse'] is not empty %} Nom : {% elseif 'tel' in nomQuestion and jsondata[form.title][stepTitle][nomQuestion]['reponse'] is not empty %} Téléphone : {% elseif 'email' in nomQuestion and jsondata[form.title][stepTitle][nomQuestion]['reponse'] is not empty %} Email : {% endif %} {{jsondata[form.title][stepTitle][nomQuestion]['reponse']}}
{% endif %} {% endfor %} {% endfor %} {% endif %}

{{ form.etat.label }}

Demande initial

{{ form.historyContacts[0].contact.label }}

{{ form.dateCreation|date('d-m-Y') }} {{ form.dateCreation|date('H:i:s') }}{{ form.dateCreation|date('H:i:s') }} Détails du formulaire
{% endblock %}