diff --git a/templates/facture.tpl b/templates/facture.tpl index 4c29ed8..2cf218a 100644 --- a/templates/facture.tpl +++ b/templates/facture.tpl @@ -9,7 +9,9 @@ {linkbutton shape="download" href="%spdf.php?d&id=%d"|args:$plugin_url,$facture.id label="Télécharger ce document"} +{if $session->canAccess($session::SECTION_ACCOUNTING, $session::ACCESS_ADMIN)} {linkbutton shape="delete" href="%sfacture_supprimer.php?id=%d"|args:$plugin_url,$facture.id label="Supprimer ce document"} +{/if}