facturation/templates/_menu.tpl

16 lines
881 B
Smarty
Raw 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>
2019-11-02 17:53:27 +01:00
<li{if $current == 'index'} class="current"{/if}><a href="{plugin_url file=""}">Liste documents</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 == 'facture'} class="current"{/if}><a href="{plugin_url file="facture_ajouter.php"}">Nouveau document</a></li>
{/if}
<li{if $current == 'clients'} class="current"{/if}><a href="{plugin_url file="clients.php"}">Liste clients</a></li>
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 == 'config'} class="current"{/if}><a href="{plugin_url file="config.php"}">Configuration</a></li>
{/if}
2020-10-24 22:51:01 +02:00
<li{if $current == 'aide'} class="current"{/if}><a href="{plugin_url file="aide.php"}">Aide</a></li>
2019-11-02 17:53:27 +01:00
</ul>
2020-12-29 18:07:26 +01:00
</nav>