|
{{projectConfig.home_title_prefix}}
|
Client
{% if jsondata[form.title] is defined %}
{% for stepTitle in jsondata[form.title]|keys %}
|
| Designation | Quantité | Prix Unitaire
{{ uniterecap[loop.index-1] }} |
Montant
{{ uniterecap[loop.index-1] }} |
{% for stepTitle in jsondata[mform.title]|keys %}
{% if stepTitle != 'recap' %}
{% for question in jsondata[mform.title][stepTitle]|keys %}
{% if 'contact_' not in question and 'entreprise_' not in question and 'recap-' not in question %}
{% set type = jsondata[mform.title][stepTitle][question]['type'] %}
{% set recapId = jsondata[mform.title][stepTitle][question]['recap-id'] %}
{% set options = jsondata[mform.title][stepTitle][question]['options'] %}
{% set optionslabels = jsondata[mform.title][stepTitle][question]['optionslabel'] %}
{# {% set optionsImage = jsondata[mform.title][stepTitle][question]['optionsImage'] %} #}
{# {% set imageHttpServer = jsondata[mform.title][stepTitle][question]['imageHttpServer'] %} #}
{% set optionsUnite = jsondata[mform.title][stepTitle][question]['optionsUnite'] %}
{% set reponse = jsondata[mform.title][stepTitle][question]['reponse'] %}
{% if type == 'radio' and recapId == idrecap[indexLabelRecap-1] %}
{% for option in options %}
{% if reponse == option %}
|---|---|---|---|
|
{{option}} |
{% if optionslabels[loop.index - 1] != "" %}
1 {% endif %} |
{{ optionslabels[loop.index - 1]|number_format(2, '.') }} |
{{ optionslabels[loop.index - 1]|number_format(2, '.') }} |
|
{{option}} |
{% if optionslabels[loop.index - 1] != "" %}
1 {% endif %} |
{{ optionslabels[loop.index - 1]|number_format(2, '.') }} |
{{ optionslabels[loop.index - 1]|number_format(2, '.') }} |
|
{{option}} |
{{reponse[loop.index - 1]}} |
{% set resmult = reponse[loop.index - 1] * optionslabels[loop.index - 1] %}
{{ optionslabels[loop.index - 1] }} {{ optionsUnite }} |
{{resmult}} {{ optionsUnite }} |
| Total: | {{ resrecap[loop.index-1] }} {{ uniterecap[loop.index-1] }} |