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