Upload plugin files but mPDF folder
This commit is contained in:
parent
ba5c48b8e8
commit
9ac4bbce8a
36 changed files with 2864 additions and 0 deletions
17
templates/facture.tpl
Normal file
17
templates/facture.tpl
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{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)}
|
||||
<a href="{plugin_url file="facture_modifier.php"}?id={$facture.id}">
|
||||
<button type="button" class="btn btn-primary">Modifier ce document</button></a>
|
||||
{/if}
|
||||
|
||||
<a href="{plugin_url file="facture_pdf.php"}?d&id={$facture.id}">
|
||||
<button type="button" class="btn btn-primary">Télécharger ce document</button></a>
|
||||
|
||||
<div>
|
||||
<embed src="facture_pdf.php?id={$id}" type="application/pdf" width="100%" height="800px;" style="max-width: 900px;">
|
||||
</div>
|
||||
{include file="admin/_foot.tpl"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue