{# @author: Benjamin AMOUZOU #} {% extends "commercial/template-commercial.html.twig" %} {% block titre_enfant %} Fournisseur informel {% endblock %} {% block contenu_principal_commercial %}
{% include('template-message.html.twig') %}
Edition fournisseur informel
{{form_label(form.nom,"Nom", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(form.nom, {'attr': {'class': 'form-control form-control-sm'}})}}
{{form_label(form.prenoms,"Prénoms", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(form.prenoms, {'attr': {'class': 'form-control form-control-sm'}})}}
{{form_label(form.sexe,"Sexe", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(form.sexe, {'attr': {'class': 'custom-select custom-select-sm'}})}}
{{form_label(form.dateEnregistrement,"Date d'enrégistrement", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(form.dateEnregistrement, {'attr': {'class': 'form-control form-control-sm'}})}}
{{form_label(form.contacts,"Contacts", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(form.contacts, {'attr': {'class': 'form-control form-control-sm', 'placeholder':'+228 90-12-41-52/...'}})}}
{{form_label(form.adresse,"Adresse", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}}
{{form_widget(form.adresse, {'attr': {'class': 'form-control form-control-sm'}})}}
{{form_label(form.acheteurResponsable,"Acheteur responsable", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}}
{{form_widget(form.acheteurResponsable, {'attr': {'class': 'custom-select custom-select-sm'}})}}
{{form_widget(form.actif, {'attr': {'class': 'custom-control-input'}})}} {{form_label(form.actif,"Actif", {'label_attr': {'class': 'custom-control-label col-form-label col-form-label-sm'}})}} *
{% for matiere in matierePremieres %} {% set selectionne = false %} {% set valeur = '' %} {% if matiereRachetes is defined %} {% set indice = 0 %} {% for tableau in matiereRachetes %} {% if matiere.id == tableau[0] and not selectionne %} {% set selectionne = true %} {% set indice = loop.index - 1 %}{# 0 début des collections form builder #} {% set valeur = tableau[1] %} {% endif %} {% endfor %} {% endif %}

*
{% endfor %}
{{form_row(form._token)}}
  Annuler
{% endblock %} {% block script %} {% endblock %}