{% extends 'base.html.twig' %} {% block title %}Liste Facture Fournisseur {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %}

Factures Fournisseur à Valider

{% if selectedChantier %}

Factures pour le chantier {{ selectedChantier.libelle }}

    {% for invoice in invoices %} {% if invoice.traite == 0 and invoice.litige == 0 and invoice.validationPartielle == 0 %}
  • {{ form_start(forms[invoice.id]) }} {{ form_row(forms[invoice.id].chantier, { 'label': 'Chantier' }) }}
    {% for categorie in forms[invoice.id].categoriesBudget %}
    {{ form_widget(categorie) }} {{ form_label(categorie) }}
    {% endfor %}
    {{ form_row(forms[invoice.id].budgetEstimation, { 'label': 'Estimation associée' }) }} {{ form_row(forms[invoice.id].bonCommandes) }} {{ form_row(forms[invoice.id].traite, { 'label': 'Valider la facture' }) }} {{ form_row(forms[invoice.id].litige, { 'label': 'Refuser la facture' }) }} {{ form_row(forms[invoice.id].validationPartielle, { 'label': 'Valider partiellement' }) }} {{ form_row(forms[invoice.id].comRefus, { 'label': 'Commentaire en cas de refus' }) }} {{ form_end(forms[invoice.id]) }}
  • {% endif %} {% endfor %}
{% else %}

Veuillez sélectionner un chantier pour afficher les factures.

{% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}