gestion complète taux réduction

FossilOrigin-Name: 65f4c90bd70dda1733695d52ff242e58fe10220efee4077c813f49961d2686bc
This commit is contained in:
engel 2022-02-18 11:51:13 +00:00
parent 38a3556dbd
commit 3acbd2038e
10 changed files with 61 additions and 28 deletions

View file

@ -5,6 +5,8 @@ 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'] == "") {