ajout vérification sélection année reçu
FossilOrigin-Name: 2ce14b6d56ad130d5ee4521f616d694a5855aaf638aac97d80aed46302c2fa38
This commit is contained in:
parent
3e02319484
commit
a787c1dacb
3 changed files with 14 additions and 4 deletions
|
|
@ -4,8 +4,13 @@ namespace Garradin;
|
|||
|
||||
use Garradin\Plugin\RecusFiscaux\Utils;
|
||||
|
||||
// liste des versements totaux par personne
|
||||
// vérifier si l'année a bien été sélectionnée au préalable
|
||||
$_SESSION['annee_recu'] = f('annee_recu');
|
||||
// error_log("vp.php::annee_recu = (" .$_SESSION['annee_recu'] . ")");
|
||||
if (! isset($_SESSION['annee_recu']) || $_SESSION['annee_recu'] == "") {
|
||||
\Garradin\Utils::redirect(PLUGIN_URL . 'index.php');
|
||||
}
|
||||
// liste des versements totaux par personne
|
||||
$_SESSION['lesVersementsTotaux'] = Utils::getVersementsTotaux($_SESSION['annee_recu']);
|
||||
|
||||
// préparation de l'affichage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue