<table class="panier table-hover legumesTotal">
    <thead>
        <tr class="title">
            <th class="titre">TOTAL :</th>
            <th class="total montant" colspan="3">{$infos.total_legumes.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=$infos.total_legumes.legumes item=l}
        <tr class="legume">
            <td class="nom">{$l.nom}</td>
            <td class="tarif">{$l.tarif_prix|string_format:"%.2f"} €</td>
            <td class="quantite">{$l.quantite_print}</td>
            <td class="montant">{($l.montant)|string_format:"%.2f"} €</td>
        </tr>
        {foreachelse}
        <tr>
            <td colspan="7">aucun légume</td>
        </tr>
        {/foreach}
    </tbody>
</table>