facturation/templates/facture.tpl

21 lines
1.1 KiB
Smarty
Raw Normal View History

{include file="_head.tpl" title="Document — %s"|args:$plugin.name current="plugin_%s"|args:$plugin.id}
2019-11-02 17:53:27 +01:00
{include file="%s/templates/_menu.tpl"|args:$plugin_root current="index"}
{form_errors}
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
{linkbutton shape="edit" href="%sfacture_modifier.php?id=%d"|args:$plugin_admin_url,$facture.id label="Modifier ce document"}
{linkbutton shape="plus" href="%sfacture_ajouter.php?copy=%d"|args:$plugin_admin_url,$facture.id label="Dupliquer ce document"}
2019-11-02 17:53:27 +01:00
{/if}
2023-08-01 22:56:38 +02:00
{linkbutton shape="download" href="%spdf.php?d&id=%d"|args:$plugin_admin_url,$facture.id label="Télécharger ce document"}
{if $session->canAccess($session::SECTION_ACCOUNTING, $session::ACCESS_ADMIN)}
2023-08-01 22:56:38 +02:00
{linkbutton shape="delete" href="%sfacture_supprimer.php?id=%d"|args:$plugin_admin_url,$facture.id label="Supprimer ce document"}
{/if}
2019-11-02 17:53:27 +01:00
2021-11-10 23:27:07 +01:00
<div style="margin-top: 1em; width: min-content;">
2021-12-17 14:20:18 +01:00
<embed src="pdf.php?id={$id}" width="840px" height="1188px" style="max-width: 900px; border: 1px solid black;">
2019-11-02 17:53:27 +01:00
</div>
2023-08-01 22:56:38 +02:00
{include file="_foot.tpl"}