<div style="margin-bottom: 15px">
	{% embed "@GlobalApplication/Component/_navbar.twig" with {
				listItem: [
					consultation.RFI_Q != 'I' ? {
						label: 'Postes' | trad,
						route: 'Consultation.Consultation.details',
						routeParam: {idAO: idAO, onglet: 'Ligne'},
						status: consultation.hasLigne,
					},
					{
						label: 'Fournisseurs' | trad,
						route: 'Consultation.Consultation.details',
						routeParam: {idAO: idAO, onglet: 'Fournisseur'},
						status: consultation.hasFourniss,
					},
					{
						id: 'ongletQst1',
						label: 'Questionnaire fournisseur' | trad,
						route: 'Evaluation.BibliothequeDeQuestions.gestionBibliotheque',
						routeParam: {mode: 'AO', idCamp: idAO},
						status: consultation.hasQst,
						onglet:'AO',
					},
					{
						id: 'ongletQst2',
						label: 'Questionnaire acheteur' | trad,
						route: 'Evaluation.BibliothequeDeQuestions.gestionBibliothequeAoContrib',
						routeParam: {mode: 'AO_CONTRIB', idAO: idAO},
						status: consultation.hasQstContrib,
						onglet:'AO_CONTRIB',
					},
					{
						id: 'ongletDocConsult',
						label: 'Documents de la consultation' | trad,
						route: 'Consultation.Consultation.details',
						routeParam: {idAO: idAO, onglet: 'DocConsult'},
						status: consultation.hasPijo or consultation.hasClause,
					},
					{
						id: 'ongletDocRep',
						label: 'Documents de la réponse' | trad,
						route: 'Consultation.Consultation.details',
						routeParam: {idAO: idAO, onglet: 'DocRep'},
						status: consultation.hasDocRep
					},
					{
						id: 'ongletDocInt',
						label: 'Documents internes' | trad,
						route: 'Consultation.Consultation.details',
						routeParam: {idAO: idAO, onglet: 'DocInt'},
						status: consultation.hasDocInt
					}
				] 
				| filter(item => item is not empty) 
				| map(item => item | merge({
					isActive: 
						(onglet is not empty and (onglet == item.routeParam.onglet or onglet == item.onglet))
						or (onglet is empty and getRouteName() == item.route)
				}))
			} only %}
		{% block label %}
			{{ item.label }}
			{% if item.status is defined %}
				<span class="icopastille text-client1 ml-tiny {{ item.status ? 'primary' : 'muted' }}"></span>
			{% endif %}
		{% endblock %}
	{% endembed %}

	<script>
		updateNavBar();
	</script>
</div>
