C'est crade mais : on peut modifier un doc en reçu et il s'affiche
This commit is contained in:
parent
0ab5fa5ad0
commit
2014dff1a1
8 changed files with 146 additions and 110 deletions
|
|
@ -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"}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
<ul class="actions">
|
||||
<li><input type="radio" name="type" value="facture" {form_field name=type checked=facture default=facture} id="f_type_facture"{if $type !== "devis"} checked="checked"{/if}/><label for="f_type_facture">Facture</label></li>
|
||||
<li><input type="radio" name="type" value="devis" {form_field name=type checked=devis} id="f_type_devis" {if $type == "devis"} checked="checked"{/if}/><label for="f_type_devis">Devis</label></li>
|
||||
<li><input type="radio" name="type" value="cerfa" {form_field name=type checked=cerfa} id="f_type_cerfa" {if $type == "cerfa"} checked="checked"{/if}/><label for="f_type_cerfa">Reçu fiscal</label></li>
|
||||
</ul>
|
||||
|
||||
<fieldset>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue