{% extends '@ajax-layout/layout.twig' %}

{% block body %}
	
	<div class="modal-body clearfix display_table" style="width:100%;">
        <table class="table table-hover">
          	<thead class="thead-dark">
          		 <th scope="col">{{ 'Type' | trad }}</th>
          		 <th scope="col">{{ 'Fournisseur' | trad }}</th>
          		 <th scope="col">{{ 'Contact' | trad }}</th>
          		 <th scope="col">{{ 'Téléphone' | trad }}</th>
          		 <th scope="col">{{ 'Fax' | trad }}</th>
          		 <th scope="col">{{ 'Email' | trad }}</th>
          		 <th scope="col">{{ 'Date envoi' | trad }}</th>
          		 <th scope="col">{{ 'Retenu ?' | trad }}</th>
      		 </thead>
            {% for fourniss in listeFourniss %}
            	<tr>
            		<td>{{ fourniss.TYPE_FG=='F'? 'Fournisseur' | trad:'Groupement' | trad }}</td>
            		<td>{{ fourniss.RS_FOU }} ({{ fourniss.CODE_FOU }})</td>
            		<td>{{ fourniss.NOM_CTCT }}</td>
            		<td>{{ fourniss.TEL_CTCT }}</td>
            		<td>{{ fourniss.FAX_CTCT }}</td>
            		<td>{{ fourniss.EMAILCONT }}</td>
            		<td>{{ fourniss.DTE_ENVOI | dateTrad }}</td>
            		<td>{{ fourniss.FOU_RETEN | boolTrad  }}</td>
            	</tr>
            {% endfor %}
  		 </table>
	</div>
    <div class="modal-footer">
    	<a onClick='desactivePopup();' class="button secondaire">{{ 'Fermer' | trad}}</a>
	</div>
    
{% endblock %}
	