amélioration gestion configuration
FossilOrigin-Name: dd08bb3079c4797c7944082ca9377c645a73f466048bd3928eb1e83973f4fba3
This commit is contained in:
parent
a988c131aa
commit
3e02319484
7 changed files with 62 additions and 31 deletions
|
|
@ -13,28 +13,30 @@
|
|||
|
||||
<form method="post" action="{$self_url}">
|
||||
<fieldset>
|
||||
<legend>Objet</legend>
|
||||
<dl>
|
||||
<dt><label>L'objet (but) de l'association doit tenir sur 3 lignes de 100 caractères maximum chacune.</label><b title="(Champ obligatoire)">obligatoire pour reçus fiscaux</b></dt>
|
||||
{input type="text" name="objet_0" source=$plugin.config label="Ligne 1" maxlength=95}
|
||||
{input type="text" name="objet_1" source=$plugin.config label="Ligne 2" maxlength=95}
|
||||
{input type="text" name="objet_2" source=$plugin.config label="Ligne 3" maxlength=95}
|
||||
</dl>
|
||||
<legend>Objet (but) de l'association</legend>
|
||||
<dl>
|
||||
<dt><label>Objet</label><b title="Champ obligatoire">obligatoire</b></dt>
|
||||
{input type="text" name="objet_asso" source=$plugin.config label="" maxlength=300}
|
||||
</dl>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Droit à la réduction d'impôt</legend>
|
||||
<dl>
|
||||
<dt><label>Articles concernés par l'association : </label>
|
||||
<b title="(Champ obligatoire)">obligatoire pour reçus fiscaux</b>
|
||||
</dt>
|
||||
{foreach from=$plugin_config->articlesCGI key="num" item="article"}
|
||||
{input type="checkbox" name="cgi_art_%s"|args:$num value="1" source=$plugin.config label=$article}
|
||||
{/foreach}
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label>Articles concernés par l'association : </label>
|
||||
<b title="Champ obligatoire">obligatoire</b>
|
||||
</dt>
|
||||
{foreach from=$plugin_config->articlesCGI key="key" item="article"}
|
||||
{* {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.titre}</label>
|
||||
{/foreach}
|
||||
</dl>
|
||||
</fieldset>
|
||||
<p class="submit">
|
||||
{csrf_field key="recusfiscaux_config"}
|
||||
{button type="submit" name="save" label="Enregistrer" shape="right" class="main"}
|
||||
</p>
|
||||
</form>
|
||||
</form>
|
||||
|
|
@ -78,12 +78,12 @@
|
|||
<td>
|
||||
<span class="radio-btn">
|
||||
<input type="radio" id="taux_normal_{$activite.idTarif}"
|
||||
name="taux_reduction_{$activite.idTarif}" value="taux_normal" disabled />
|
||||
name="taux_reduction_{$activite.idTarif}" value="{$plugin_config->reduction[0]->taux}" disabled />
|
||||
<label for="taux_normal_{$activite.idTarif}">normal</label>
|
||||
</span>
|
||||
<span class=" radio-btn">
|
||||
<input type="radio" id="taux_majore_{$activite.idTarif}"
|
||||
name="taux_reduction_{$activite.idTarif}" value="taux_majore" disabled />
|
||||
name="taux_reduction_{$activite.idTarif}" value="{$plugin_config->reduction[1]->taux}" disabled />
|
||||
<label for="taux_majore_{$activite.idTarif}">majoré</label>
|
||||
</span>
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue