{foreach from=$infos.legumes item=p}
<table class="panier">
    <thead>
        <tr class="title">
            <th class="titre" colspan="2">{$p.nom} <small>(x{$p.nb})</small></th>
            <th class="total">TOTAL :</th>
            <th class="total montant">{$p.montant|string_format:"%.2f"} €</th>
        </tr>
        <tr class="head">
            <th class="nom">légume</th>
            <th class="tarif">tarif</th>
            <th class="quantite">quantité</th>
            <th class="montant">montant</th>
        </tr>
    </thead>
    <tbody>
        {foreach from=$p.legumes item=l}
        <tr class="legume">
            <td class="nom">{$l.nom}</td>
            <td class="tarif">{$l.tarif_prix|string_format:"%.2f"} €/{$l.tarif_unite_acro}</td>
            <td class="quantite">{$l.quantite_print}</td>
            <td class="montant">{($l.tarif_prix * $l.quantite)|string_format:"%.2f"} €</td>
        </tr>
        {/foreach}
    </tbody>
</table>
{/foreach}