{% block body %}
<td colspan="12">
	<h5>{{ 'Détails ligne' | trad }}</h5>
	<div class="row single">
		<div class="informations">
			<p>
				<span class="champs_label">{{ 'Désignation complémentaire' | trad }}</span>
				<span class="resultat text-left">
					{{- detailLigne.CONTMEMO | nl2br -}}
				</span>
			</p>                       				
		</div>
	</div>
	<div class="colonne3">
		<div class="informations">
			<p>
				<span class="champs_label">{{ 'Site stock' | trad }}</span>
				<span class="resultat">{{ detailLigne.SITE_STK }} </span>
			</p>
			<p>
				<span class="champs_label">{{ 'Centre livraison' | trad }}</span>
				<span class="resultat">{{ detailLigne.CTRLIVR }}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Sous Famille' | trad }}</span>
				<span class="resultat">{{ convertLibelleGlobal('SousFamille', '' , detailLigne.SSFAM) }} {% if detailLigne.SSFAM | trim %}({{ detailLigne.SSFAM }}){% endif %}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Qté. déjà commandée' | trad }}</span>
				<span class="resultat">{{ detailLigne.DEJA_COMM }}</span>
			</p>
		</div>
	</div>
	<div class="colonne3">
		<div class="informations">
			<p>
				<span class="champs_label">{{ 'Section d\'imputation' | trad }}</span>
				<span class="resultat">{{ convertLibelleGlobal('Sectimpu', '' , detailLigne.SECTIMP)}} {% if detailLigne.SECTIMP %}({{ detailLigne.SECTIMP }}){% endif %}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Code complémentaire' | trad }}</span>
				<span class="resultat">{{ convertLibelleGlobal('Codecomp', '' , detailLigne.SECTIMP)}} {% if detailLigne.SECTIMP %}({{ detailLigne.SECTIMP }}){% endif %}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Sous compte d\'analyse' | trad }}</span>
				<span class="resultat">{{ convertLibelleGlobal('Sscptana', '' , detailLigne.SSCPTEANA)}} {% if detailLigne.SSCPTEANA %}({{ detailLigne.SSCPTEANA }}){% endif %}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'TVA' | trad }}</span>
				<span class="resultat">{{ detailLigne.TVA }} %</span>
			</p>
		</div>
	</div>
	<div class="colonne3 last">
		<div class="informations">
			<p>
				<span class="champs_label">{{ 'Total ligne HT' | trad }}</span>
				<span class="resultat">{{ detailLigne.MNT_LIG | prix }} {{ detailDA.DEVISE }}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Total ligne TTC' | trad }}</span>
				<span class="resultat">{{ (detailLigne.MNT_LIG * ((detailLigne.TVA / 100) + 1)) | prix }} {{ detailDA.DEVISE }}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Budget ligne' | trad }}</span>
				<span class="resultat">{{ detailLigne.BUDGET | prix }} {{ detailDA.DEVISE }}</span>
			</p>
		</div>
	</div>

	<h5>{{ 'Détail Entête' | trad }}</h5>
	<div class="colonne3">
		<div class="informations">
			<p>
				<span class="champs_label">{{ 'Societe' | trad }}</span>
				<span class="resultat">
					{% if detailDA.CODE_STE | trim %}
						{{ detailDA.Societe_RAIS_SOC }} ({{ detailDA.CODE_STE }})
					{% endif %}
				</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Fournisseur' | trad }}</span>
				<span class="resultat">{{ convertLibelleGlobal('Fourniss', '' , detailDA.FOU)}} {% if detailDA.FOU | trim %}({{ detailDA.FOU }}){% endif %}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Demandeur' | trad }}</span>
				<span class="resultat">
					{% if detailDA.NO_DEM | trim %}
						{{ detailDA.Demandeur_NOM }} ({{ detailDA.NO_DEM }})
					{% endif %}
				</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Type' | trad }}</span>
				<span class="resultat">{{ convertLibelleGlobal('TypeDoc', '' , detailDA.TYP_DOC)}} {% if detailDA.TYP_DOC | trim %}({{ detailDA.TYP_DOC }}){% endif %}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Centre émetteur' | trad }}</span>
				<span class="resultat">
					{% if detailDA.DAENT_CENTRE_EMETTEUR | trim %}
						{{ detailDA.Centre_RAIS_SOC }} ({{ detailDA.DAENT_CENTRE_EMETTEUR }})
					{% endif %}
				</span>
			</p>
		</div>
	</div>
	<div class="colonne3">
		<div class="informations">
			<p>
				<span class="champs_label">{{ 'Chiffrage/Exécution' | trad }}</span>
				<span class="resultat">{{ typeChiffExec[detailDA.CHIF_EXEC]  }}</span>
			</p>										
			<p>
				<span class="champs_label">{{ 'Section d\'imputation' | trad }}</span>
				<span class="resultat">{{ convertLibelleGlobal('Sectimpu', '' , detailDA.SECTIMP)}} {% if detailDA.SECTIMP | trim %}({{ detailDA.SECTIMP }}){% endif %}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Code complémentaire' | trad }}</span>
				<span class="resultat">{{ convertLibelleGlobal('Codecomp', '' , detailDA.CODECOMP)}} {% if detailDA.CODECOMP | trim %}({{ detailDA.CODECOMP }}){% endif %}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Sous compte d\'analyse' | trad }}</span>
				<span class="resultat">{{ convertLibelleGlobal('Sscptana', '' , detailDA.SSCPTEANA)}} {% if detailDA.SSCPTEANA | trim %}({{ detailDA.SSCPTEANA }}){% endif %}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'ZL DA' | trad }}</span>
				<span class="resultat">{{ detailDA.ZONELIB | dateTrad  }}</span>
			</p>
		</div>
	</div>
	<div class="colonne3 last">
		<div class="informations">
			<p>
				<span class="champs_label">{{ 'Date création' | trad }}</span>
				<span class="resultat">{{ detailDA.DTE_EMISS | dateTrad  }}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Date validation' | trad }}</span>
				<span class="resultat">{{ detailDA.DTE_VAL | dateTrad  }}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Total HT' | trad }}</span>
				<span class="resultat">{{ detailDA.TOTAL_DA | prix }} {{ detailDA.DEVISE }}</span>
			</p>
			<p>
				<span class="champs_label">{{ 'Total TTC' | trad }}</span>
				<span class="resultat">{{ detailDA.TOTAL_DA_TTC | prix }} {{ detailDA.DEVISE }}</span>
			</p>
		</div>
	</div>
</td>
{% endblock %}