facturation/templates/_menu.tpl

16 lines
876 B
Smarty
Raw Permalink Normal View History

2020-12-29 18:07:26 +01:00
<style>
{include file="%s/templates/_style.css"|args:$plugin_root}
</style>
<nav class="tabs">
<ul>
2023-08-01 22:56:38 +02:00
<li{if $current == 'index'} class="current"{/if}><a href="{$plugin_admin_url}">Liste documents</a></li>
2021-04-11 14:25:59 +02:00
{if $session->canAccess($session::SECTION_ACCOUNTING, $session::ACCESS_WRITE)}
2023-08-01 22:56:38 +02:00
<li{if $current == 'facture'} class="current"{/if}><a href="{$plugin_admin_url}facture_ajouter.php">Nouveau document</a></li>
2019-11-02 17:53:27 +01:00
{/if}
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>
2021-04-11 14:25:59 +02:00
{if $session->canAccess($session::SECTION_ACCOUNTING, $session::ACCESS_ADMIN)}
2023-08-01 22:56:38 +02:00
<li{if $current == 'config'} class="current"{/if}><a href="{$plugin_admin_url}config.php">Configuration</a></li>
2019-11-02 17:53:27 +01:00
{/if}
2023-08-01 22:56:38 +02:00
<li{if $current == 'aide'} class="current"{/if}><a href="{$plugin_admin_url}aide.php">Aide</a></li>
2019-11-02 17:53:27 +01:00
</ul>
2020-12-29 18:07:26 +01:00
</nav>