
{% block body %}

<td colspan="11">
	<div class="informations_facture">
		<p class="titre_detail"><span>{{ 'Détail ligne' | trad }}</span> </p>
    	<div class="single row">
            <div class="informations">
                <p>
                    <span class="champs_label">{{ 'Désignation compl. :' | trad }}</span>
            	<span class="resultat">{{ ligne.CONTMEMO | nl2br }}</span>
                </p>
            </div>
        </div>
        <div class="colonne3">
            <div class="informations">
                <p>
                    <span class="champs_label">{{ 'SI :' | trad }}</span>
                    <span class="resultat"> 
                        {{ ligne.LIBELLESI | convert_encoding('UTF-8', 'ISO-8859-1') }} {% if ligne.CODE_SI | trim %}({{ ligne.CODE_SI | convert_encoding('UTF-8', 'ISO-8859-1') }}){% endif %}
                    </span>
                </p>
                <p>
                    <span class="champs_label">{{ 'Type de TVA :' | trad }}</span>
                    <span class="resultat">{{ ligne.TypeTVA_LIBELLE }} {% if ligne.TYPE_TVA | trim %}({{ ligne.TYPE_TVA }}){% endif %}</span>
                </p>
        	</div>
    	</div>
        <div class="colonne3">
            <div class="informations">
                <p>
                    <span class="champs_label">{{ 'CDC :' | trad }}</span>
                    <span class="resultat">
                        {{ ligne.LIBELLECDC | convert_encoding('UTF-8', 'ISO-8859-1') }} {% if ligne.CODE_CDC | trim %}({{ ligne.CODE_CDC | convert_encoding('UTF-8', 'ISO-8859-1') }}){% endif %}
                    </span>
                </p>
                <p>
                    <span class="champs_label">{{ 'Profil de TVA :' | trad }}</span>
                    <span class="resultat"> 
                        {{ ligne.CODE_PROFIL_TVA | convert_encoding('UTF-8', 'ISO-8859-1') }}
                    </span>
                </p>
        	</div>
    	</div>
        <div class="colonne3">
            <div class="informations">
                <p>
                    <span class="champs_label">{{ 'SCA :' | trad }}</span>
                    <span class="resultat"> 
                        {{ ligne.LIBELLESCA | convert_encoding('UTF-8', 'ISO-8859-1') }} {% if ligne.CODE_SCA | trim %}({{ ligne.CODE_SCA | convert_encoding('UTF-8', 'ISO-8859-1') }}){% endif %}
                    </span>
                </p>
        	</div>
    	</div>
        <div id="CSLigne">
			{{ VisualisationCS('FAC_LIG', codeEnrCs, null, null, 'colonne2', ligne.CODE_STE) }}
		</div>
   	</div>
</td>

<script>
$('#CSLigne .informations').each(function() {
	if($(this).html()==''){
		$(this).parent().hide();
	}
});
ResizableColumns();
</script>
{% endblock %}
