{% set title = 'Devenir client' %} {% set desc = "Utiliser ce formulaire pour demander l'ouverture d'un compte dans l'une de nos agences"|os_trans("Use this form to request the opening of an account in one of our agencies") %} {% set hasReCaptcha = true %} {% extends 'Default/base-form.html.twig' %} {% import 'Admin/macros.html.twig' as adminMacros %} {% import "Macros/enumList.html.twig" as enumList %} {% block content %}
{{include('Default/notice.html.twig')}}
{{form_start(form,{attr:{id:form.vars.id}})}}
{{form_row(form.type)}}
{{form_row(form.savingAccount)}}
{{form_row(form.currentAccount)}}
{{form_row(form.town)}} {{form_row(form.agency)}}
Veuillez sélectionner un produit pour voir les pièces à fournir.
{% for o in savingAccounts %}

Pièces à fournir

{{ enumList.render(o.documentsRequired,"var(--success-color)") }} {{o.othersDetails|raw}}
{% endfor %} {% for o in currentAccounts %}

Pièces à fournir

{{ enumList.render(o.documentsRequired,"var(--success-color)") }}
{{o.othersDetails|raw}}
{% endfor %}
{{form_row(form.lname)}} {{form_row(form.fname)}} {{form_row(form.sex)}} {{form_row(form.email)}} {{form_row(form.phone)}}
{{form_row(form.birthday)}} {{form_row(form.address)}} {{form_row(form.residenceCertificate)}}
{{form_row(form.IDPhoto)}}
{{form_rest(form)}}
{{form_end(form)}}
{% endblock %}