C'est crade mais : on peut modifier un doc en reçu et il s'affiche

This commit is contained in:
Noizette 2020-10-24 05:40:42 +02:00
parent 0ab5fa5ad0
commit 2014dff1a1
8 changed files with 146 additions and 110 deletions

View file

@ -12,6 +12,10 @@
<button type="button" class="btn btn-primary">Télécharger ce document</button></a>
<div>
{if $type < 2}
<embed src="facture_pdf.php?id={$id}" type="application/pdf" width="100%" height="800px;" style="max-width: 900px;">
{else}
<embed src="generation.php?id={$id}" type="application/pdf" width="100%" height="800px;" style="max-width: 900px;">
{/if}
</div>
{include file="admin/_foot.tpl"}