facturation/templates/_menu_client.tpl

12 lines
793 B
Smarty
Raw Permalink Normal View History

2020-12-29 18:07:26 +01:00
<nav class="tabs">
<ul>
2023-08-01 22:56:38 +02:00
<li{if $current == 'clients'} class="current"{/if}><a href="{$plugin_admin_url}clients.php">Liste clients</a></li>
<li{if $current == 'client'} class="current"{/if}><a href="{$plugin_admin_url}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}>
2023-08-01 22:56:38 +02:00
<a href="{$plugin_admin_url}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}>
2023-08-01 22:56:38 +02:00
<a href="{$plugin_admin_url}client_supprimer.php?id={$client.id}">Supprimer</a></li>{/if}
2019-11-02 17:53:27 +01:00
</ul>
2020-12-29 18:07:26 +01:00
</nav>