<div id="content_tableauTypeAchat" class="box-form mb-base">
			<fieldset class="scheduler-border">
					<legend class="scheduler-border">
						<div id='libelleContact'>{{ 'Type d\'achat' | trad }}</div>
					</legend>
			<div id="type_achat" class="padding15">
				{% if lockModif==false %}
				<a class="button principal ajout button_right margin-bottom" style="cursor:pointer;" onClick="ajaxPopup('{{ path('Fournisseur.TypeAchat.popupAjoutTypeAchat', {'type' : 'FournisseurSimplie'}) }}', '{{ "Nouveau type d\'achat" | trad |e('js')|raw }}');">{{ "Ajout type d'achat" | trad }}</a>
			{% endif %}
				<form method="post" name="filtre_typeAchat" id="filtre_typeAchat">
					<table class="table table-hover">
						<thead class="thead-dark">
							<tr>
								<th scope="col" width="130px">{{ 'Code Type d\'achat' | trad }}</th>
								<th scope="col" >{{ 'Libellé Type d\'achat' | trad }}</th>
								<th scope="col" width="10%" class="align-center">{{ 'Par défaut ?' | trad }}</th>
								<th scope="col" width="5%" class="align-center">{{ 'Actions' | trad }}</th>
							</tr>
						</thead>
						<tbody>
							{# <tr class="recherche">
								<td>{{ filterTable('CODE', infopaginationTypeAchat.filter.filter_CODE, '', '', '', 'filtre_typeAchat', '') }}</td>
								<td>{{ filterTable('LIBELLE', infopaginationTypeAchat.filter.filter_LIBELLE, '', '', '', 'filtre_typeAchat', '') }}</td>
								<td>{{ filterSelect('DEFAUT', infopaginationTypeAchat.filter.filter_DEFAUT, { oui : 'Oui' | trad, non : 'Non' | trad}) }}</td>
								<td></td>
							</tr> #}
							{% for typeAchat in listeTypeAchat %}
							<tr id="typeAchat{{ loop.index }}">
								<td>{{ typeAchat.TYP_ACH }}</td>
								<td>{{ typeAchat.LIB_TAC }}</td>
								<td class="align-center">{% if typeAchat.DEFAUT | boolSql %}{{ 'Oui' | trad }} {% else %}{{ 'Non' | trad }}{% endif %}</td>
								<td class="parametrage" >
                                    {% if not typeAchat.DEFAUT | boolSql and lockModif == false %}
                                        {{ menuContextuel('typeAchat' ~ loop.index, false, typeAchat.menuContextuel, 6) }}
									{% endif %}
								</td>
							</tr>
							{% endfor %}
						</tbody>
						</table>
						{{ paginations(path('Fournisseur.TypeAchat.ajaxTypeAchatTableau', {'type':type}),infopaginationTypeAchat.nombreDePage, infopaginationTypeAchat.page, infopaginationTypeAchat.post, 'content_tableauTypeAchat') }}
					</form>
				</div>	
			</div>
			</fieldset>
			</div>	