diff --git a/www/admin/versements_personnes.php b/www/admin/versements_personnes.php index 209c7fc..496a76f 100644 --- a/www/admin/versements_personnes.php +++ b/www/admin/versements_personnes.php @@ -5,13 +5,12 @@ namespace Garradin; use Garradin\Plugin\RecusFiscaux\Personne; use Garradin\Plugin\RecusFiscaux\Utils; -$_SESSION['taux_reduction'] = $_POST['taux_reduction']; - // vérifier si l'année a bien été sélectionnée au préalable $_SESSION['annee_recu'] = f('annee_recu'); if (! isset($_SESSION['annee_recu']) || $_SESSION['annee_recu'] == "") { \Garradin\Utils::redirect(PLUGIN_URL . 'index.php'); } +$_SESSION['taux_reduction'] = $_POST['taux_reduction']; // versements totaux par personne $_SESSION['lesVersementsTotaux'] = Utils::getVersementsTotaux($_SESSION['annee_recu']);