facturation/templates/facture.tpl

18 lines
742 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)}
2020-12-29 18:07:26 +01:00
<a href="{plugin_url file="facture_modifier.php"}?id={$facture.id}">
2019-11-02 17:53:27 +01:00
<button type="button" class="btn btn-primary">Modifier ce document</button></a>
{/if}
<a href="{plugin_url file="pdf.php"}?d&id={$facture.id}">
2019-11-02 17:53:27 +01:00
<button type="button" class="btn btn-primary">Télécharger ce document</button></a>
<div>
<embed src="pdf.php?id={$id}" type="application/pdf" width="100%" height="800px;" style="max-width: 900px;">
2019-11-02 17:53:27 +01:00
</div>
{include file="admin/_foot.tpl"}