simplification enchainement actions
FossilOrigin-Name: aef7e1bd9d782fa88687992c0f96cbb18075fea30adfb41c4a3b4e10874469df
This commit is contained in:
parent
f2f360cfa0
commit
2a7f5ad834
|
@ -2,7 +2,7 @@
|
|||
{include file="%s/templates/_nav.tpl"|args:$plugin_root current_nav="index"}
|
||||
|
||||
<h2>Choisir l'année fiscale</h2>
|
||||
<form id="formulaire_saisie" method="post" action="action.php">
|
||||
<form id="formulaire_saisie" method="post" action="">
|
||||
<fieldset>
|
||||
{* <legend>Choisir l'année fiscale</legend> *}
|
||||
<select id="annee_recu" name="annee_recu">
|
||||
|
@ -50,7 +50,7 @@
|
|||
<div id="generer_tous" class="tous hidden">
|
||||
<p class=" submit">
|
||||
{csrf_field key="generer_tous_recus"}
|
||||
{button type="submit" name="generer_tous" label="Poursuivre" shape="right" class="main"}
|
||||
{button type="submit" name="generer_tous" label="Poursuivre" shape="right" class="main" onclick="aiguiller(this.form, 'versements_personnes');" }
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
@ -99,7 +99,7 @@
|
|||
<div id="generer_activites" class="activites hidden">
|
||||
<p class=" submit">
|
||||
{csrf_field key="generer_recus_activites"}
|
||||
{button type="submit" name="generer_activites" label="Poursuivre" shape="right" class="main"}
|
||||
{button type="submit" name="generer_activites" label="Poursuivre" shape="right" class="main" onclick="aiguiller(this.form, 'versements_activites');" }
|
||||
</p>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -127,6 +127,11 @@ function afficherMasquer(formulaire, nomClasse1, nomClasse2) {
|
|||
}
|
||||
}
|
||||
|
||||
// aiguiller la suite vers la page passée en paramètre
|
||||
function aiguiller(formulaire, pageSuivante) {
|
||||
formulaire.action = pageSuivante + ".php";
|
||||
}
|
||||
|
||||
// inutilisé
|
||||
function activerDesactiverRadio(evt) {
|
||||
var idCase = evt.target;
|
||||
|
|
Loading…
Reference in New Issue