{# @author: Benjamin AMOUZOU #} {% extends "commercial/template-commercial.html.twig" %} {% block titre_enfant %} Matériels {% endblock %} {% block contenu_principal_commercial %}
{% include('template-message.html.twig') %}
Matériel
{{form_label(form.denomination,"Dénomination", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(form.denomination, {'attr': {'class': 'form-control form-control-sm mb-3'}})}} {{form_label(form.prixRevient,"Prix de revient (FCFA)", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}}
{{form_widget(form.prixRevient, {'attr': {'class': 'form-control form-control-sm mb-3'}})}} {{form_label(form.quantiteStock,"Quantité en stock", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} {{form_widget(form.quantiteStock, {'attr': {'class': 'form-control form-control-sm mb-3'}})}}
{# tarif-materiel #} {% for tarif in form.tarifs %} {% set numeroTarif = loop.index - 1 %}
Tarif n° {{loop.index}}
{{form_label(tarif.nbreMateriel, "Nombre de matériel", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(tarif.nbreMateriel, {'attr': {'class': 'form-control form-control-sm mb-2'}})}}
{{form_label(tarif.montant, "Prix de vente (FCFA)", {'label_attr': {'class': 'col-form-label col-form-label-sm'}})}} *
{{form_widget(tarif.montant, {'attr': {'class': 'form-control form-control-sm mb-2'}})}}

{% endfor %} {# Fin service fournisseur #}
{{form_row(form._token)}}
  Annuler
{% endblock %} {% block script %} {% endblock %}