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

{% block body %}


	<div class="modal-body">
	
		<div class="row">
			<div class="colonne2">
				<div class="informations">
					<p>
    					<span class="champs_label">{{ 'Libellé' | trad }}</span>
    					<span class="resultat">{{ article.DESIGN }}</span>
					</p>
				</div>
			</div>
			<div class="colonne2 last">
				<div class="informations">
					<p>
    					<span class="champs_label">{{ 'Prix de base' | trad }}</span>
    					<span class="resultat">{{ prixOrigine.PU | prixUnitaire }} {{ entity.DEVISE }}</span>
					</p>
				</div>
			</div>
		</div>
		<div class="block_edition">
			<div class="titre_block">{{ 'Fournisseur concerné' | trad }}</div>
				<div class="row">
					<div class="colonne2">
						<div class="informations">
							<p>
								<span class="champs_label">{{ 'Raison sociale' | trad }}</span>
								<span class="resultat">{{ entity.RS }}</span>
							</p>
						</div>
					</div>
					<div class="colonne2 last">
						<div class="informations">
							<p>
								<span class="champs_label">{{ 'Adresse' | trad }}</span>
								<span class="resultat">{{ entity.VILLE }}</span>
							</p>
						</div>
					</div>
				</div>
    		</div>
		</div>
		{% if listePrix | lengthTable %}
        	<table class="table table-hover petit_table">
            	<thead class="thead-dark">
                	<tr>
                    	<th scope="col">{{ 'Quantité' | trad }}</th>
                        <th scope="col" width="100px;">Prix ({{ entity.DEVISE }})</th>              
                    </tr>
                </thead>
                <tbody>
                    {% for prix in listePrix %}
                        <tr>
                        	<td>{{ prix.QTE }}</td>
                            <td class="montant">{{ prix.PU | prixUnitaire }}</td>
                        </tr>      
                    {% endfor %}          
                 </tbody>
             </table>	
         {% endif %}
        <div class="modal-footer">
            <button type="button" id="btn_close" class="button secondaire" data-dismiss="modal" onclick="desactivePopup();">{{ 'Fermer' | trad }}</button>
        </div>    
    </div>

{% endblock %}