corrections erreurs désinstallation et génération reçus

FossilOrigin-Name: bf921ff8922652b165537fd1a2e9cf7661becaab65484213c9f93f9685ef66c4
This commit is contained in:
engel 2022-03-03 11:09:52 +00:00
parent cc6c46f59d
commit 95c8063083
8 changed files with 65 additions and 23 deletions

View file

@ -18,7 +18,10 @@
*}
<dl class="config">
<dt><label>Objet (but) de l'association</label> <b title="Champ obligatoire">(obligatoire)</b></dt>
{input type="textarea" name="objet_asso" source=$plugin.config label="" required="required" cols="50" rows="6" maxlength=300}
{*
{input type="text" name="objet_asso" source=$plugin.config label="" required="required" maxlength=300}
*}
</dl>
{*
</fieldset>
@ -28,35 +31,50 @@
*}
<dl class="config">
<dt><label>Articles du code général des impôts concernés par l'association : </label>
<b title="Champ obligatoire">(obligatoire)</b>
<b title="Champ obligatoire">(obligatoire ; sélectionnez tous les articles qui s'appliquent à l'asociation)</b>
</dt>
{foreach from=$plugin_config->articlesCGI key="key" item="article"}
{*
À VÉRIFIER : {input : checked ne fonctionne pas si l'attribut name est un tableau...
{input type="checkbox" name="articlesCGI[]" value=$key label=$article.titre}
*}
<input type="checkbox" name="articlesCGI[]" value="{$key}"
{if $article.valeur == 1}checked{/if}><label>Article {$article.titre}</label>
<div>
<input type="checkbox" name="articlesCGI[]" value="{$key}" class="choix"
{if $article.valeur == 1}checked{/if}>
<label>Article {$article.titre}</label>
</div>
{/foreach}
</dl>
<dl class="config">
<dt><label>Taux de réduction applicables : </label>
<b title="Champ obligatoire">(obligatoire ; sélectionnez tous les taux qui s'appliquent à l'asociation)</b>
</dt>
{foreach from=$plugin_config->reduction key="key" item="taux"}
<div>
<input type="checkbox" name="tauxReduction[]" value="{$key}" class="choix"
{if $taux.valeur == 1}checked{/if}>
<label>Taux {$taux.taux}, ligne {$taux.ligne} de la déclaration
{if $taux.remarque !== ""}({$taux.remarque})</label>{/if}
</div>
{/foreach}
</dl>
{*
</fieldset>
<fieldset>
<legend>Nom, fonction et signature du responsable</legend>
*}
<dl class="config">
<dt><label>Nom du responsable</label> <b title="Champ obligatoire">(obligatoire)</b></dt>
<dt><label>Nom</label> <b title="Champ obligatoire">(obligatoire)</b></dt>
{input type="text" name="nom_responsable" source=$plugin.config label="" required="required" maxlength=50}
</dl>
<dl class="config">
<dt><label>Fonction du responsable</label> <b title="Champ obligatoire">(obligatoire)</b></dt>
<dt><label>Fonction</label> <b title="Champ obligatoire">(obligatoire)</b></dt>
{input type="text" name="fonction_responsable" source=$plugin.config label="" required="required" maxlength=50}
</dl>
<dl class="config">
<dt><label>Signature du responsable</label> <b title="Champ obligatoire">(obligatoire)</b></dt>
<dt><label>Signature</label> <b title="Champ obligatoire">(obligatoire)</b></dt>
<p>L'image de la signature doit être d'une taille « raisonnable » et avoir un fond transparent</p>
{if $plugin_config.signature != ''}
<img id="signature" src="/{$plugin_config.signature}" />