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}
|
|
|
|
|
|
|
|
{if $session->canAccess('compta', Membres::DROIT_ECRITURE)}
|
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}
|
|
|
|
|
2020-10-24 09:19:21 +02:00
|
|
|
<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>
|
2020-10-24 09:19:21 +02:00
|
|
|
<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"}
|