2019-11-02 17:53:27 +01:00
|
|
|
{include file="admin/_head.tpl" title="Document — %s"|args:$plugin.nom current="plugin_%s"|args:$plugin.id}
|
|
|
|
{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)}
|
2021-11-06 22:02:47 +01:00
|
|
|
{linkbutton shape="edit" href="%sfacture_modifier.php?id=%d"|args:$plugin_url,$facture.id label="Modifier ce document"}
|
2019-11-02 17:53:27 +01:00
|
|
|
{/if}
|
|
|
|
|
2021-11-06 22:02:47 +01:00
|
|
|
{linkbutton shape="download" href="%spdf.php?d&id=%d"|args:$plugin_url,$facture.id label="Télécharger ce document"}
|
|
|
|
|
2021-12-17 14:19:52 +01:00
|
|
|
{if $session->canAccess($session::SECTION_ACCOUNTING, $session::ACCESS_ADMIN)}
|
2021-11-06 22:02:47 +01:00
|
|
|
{linkbutton shape="delete" href="%sfacture_supprimer.php?id=%d"|args:$plugin_url,$facture.id label="Supprimer ce document"}
|
2021-12-17 14:19:52 +01:00
|
|
|
{/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;">
|
|
|
|
<embed src="pdf.php?id={$id}" type="application/pdf" width="840px" height="1188px" style="max-width: 900px; border: 1px solid black;">
|
2019-11-02 17:53:27 +01:00
|
|
|
</div>
|
|
|
|
{include file="admin/_foot.tpl"}
|