facturation/templates/facture.tpl

18 lines
880 B
Smarty
Raw Normal View History

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)}
{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}
{linkbutton shape="download" href="%spdf.php?d&id=%d"|args:$plugin_url,$facture.id label="Télécharger ce document"}
{linkbutton shape="delete" href="%sfacture_supprimer.php?id=%d"|args:$plugin_url,$facture.id label="Supprimer ce document"}
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"}