fusion branche dev

FossilOrigin-Name: a6a3f6587f6e2d271f439c11230a84a263b03383d2d9842472102dbd88fb2ac5
This commit is contained in:
engel 2022-05-21 08:02:48 +00:00
commit 3347ca7743
20 changed files with 924 additions and 599 deletions

View file

@ -29,9 +29,9 @@
{input type="checkbox" name="articlesCGI[]" value=$key label=$article.titre}
*}
<div>
<input type="checkbox" name="articlesCGI[]" value="{$key}" class="choix"
<input type="checkbox" name="articlesCGI[]" id="article_{$key}" value="{$key}" class="choix"
{if $article.valeur == 1}checked{/if} />
<label>Article {$article.titre}</label>
<label for="article_{$key}">Article {$article.titre}</label>
</div>
{/foreach}
</dl>
@ -43,9 +43,9 @@
</dt>
{foreach from=$plugin_config->reduction key="key" item="taux"}
<div>
<input type="checkbox" name="tauxReduction[]" value="{$key}" class="choix"
<input type="checkbox" name="tauxReduction[]" id="taux_{$key}" value="{$key}" class="choix"
{if $taux.valeur == 1}checked{/if} />
<label>Taux {$taux.taux}, ligne {$taux.ligne} de la déclaration
<label for="taux_{$key}">Taux {$taux.taux}, ligne {$taux.ligne} de la déclaration
{if $taux.remarque !== ""}({$taux.remarque})</label>{/if}
</div>
{/foreach}
@ -92,10 +92,11 @@
<div>
{foreach from=$champsNom key="nom" item="champ"}
<div>
<input type="checkbox" name="champsNom[]" value={$nom} class="choix" {if $nbChamps == 1 || $champ.position != 0}checked{/if} />
<label>{$champ.titre}</label>
<div class="actions">
<div class="champnom">
<div class="actions"></div>
<div class="infos">
<input type="checkbox" name="champsNom[]" id="champ_{$nom}" value={$nom} class="choix" {if $nbChamps == 1 || $champ.position != 0}checked{/if} />
<label for="champ_{$nom}">{$champ.titre}</label>
</div>
</div>
{/foreach}