2020-12-29 18:07:26 +01:00
|
|
|
<nav class="tabs">
|
|
|
|
<ul>
|
2019-11-02 17:53:27 +01:00
|
|
|
<li{if $current == 'clients'} class="current"{/if}><a href="{plugin_url file="clients.php"}">Liste clients</a></li>
|
|
|
|
<li{if $current == 'client'} class="current"{/if}><a href="{plugin_url file="client.php"}?id={$client.id}">{$client.nom}</a></li>
|
2021-04-11 14:25:59 +02:00
|
|
|
{if $session->canAccess($session::SECTION_ACCOUNTING, $session::ACCESS_WRITE)}
|
2019-11-02 17:53:27 +01:00
|
|
|
<li{if $current == 'client_modifier'} class="current"{/if}>
|
|
|
|
<a href="{plugin_url file="client_modifier.php"}?id={$client.id}">Modifier</a></li>{/if}
|
2021-04-11 14:25:59 +02:00
|
|
|
{if $session->canAccess($session::SECTION_ACCOUNTING, $session::ACCESS_ADMIN)}
|
2019-11-02 17:53:27 +01:00
|
|
|
<li{if $current == 'client_supprimer'} class="current"{/if}>
|
|
|
|
<a href="{plugin_url file="client_supprimer.php"}?id={$client.id}">Supprimer</a></li>{/if}
|
|
|
|
</ul>
|
2020-12-29 18:07:26 +01:00
|
|
|
</nav>
|