{capture name=path}<a href="{$link->getPageLink('my-account', true)|escape:'html'}" title="Mon compte" rel="nofollow">Mon compte</a>
    <span class="navigation-pipe">{$navigationPipe}</span>
    <a href="{$link->getModuleLink('myvetshopclinique', 'myanimal')|escape:'htmlall':'UTF-8'}" title="Mon compte" rel="nofollow">Mes animaux</a>
    <span class="navigation-pipe">{$navigationPipe}</span>{$animal->nom}
{/capture}

<h1 class="page-heading">{$animal->nom}</h1>

{if $recos|@count > 0}
    <table class="table table-bordered">
        <thead>
        <tr>
            <th>Code RECO</th>
            <th>Date d'édition</th>
            <th>Fiche animal associée</th>
            <th>Bon de réduction</th>
            <th>Consulter</th>
        </tr>
        </thead>
        <tbody>
        {foreach $recos as $reco}
            <tr>
                <td>{$reco->code_reco}</td>
                <td>{$reco->date_reco}</td>
                <td>{$animal->nom}</td>
                <td></td>
                <td>
                    <a href="#" class="btn btn-default button button-small">
                    <span>
                        PDF
                        <i class="icon-document right"></i>
                    </span>
                    </a>
                </td>
            </tr>
        {/foreach}
        </tbody>
    </table>
{/if}

{if $animal}
    Ici les infos de l'animal
{else}
    Erreur, cet animal n'est pas disponible
{/if}
