ajout fonctionnalités choix versements
FossilOrigin-Name: 62fb6243e8d4dfb25f2b856342249e827a261366be106680411204b5b58977f2
This commit is contained in:
parent
9bbd9de84f
commit
7b426d3e32
12 changed files with 243 additions and 187 deletions
16
www/admin/versements_personnes.php
Normal file
16
www/admin/versements_personnes.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
namespace Garradin;
|
||||
|
||||
use Garradin\Plugin\RecusFiscaux\Utils;
|
||||
|
||||
// liste des versements totaux par personne
|
||||
$_SESSION['annee_recu'] = strip_tags($_POST['annee_recu']);
|
||||
$_SESSION['lesVersementsTotaux'] = Utils::getVersementsTotaux($_SESSION['annee_recu']);
|
||||
|
||||
// préparation de l'affichage
|
||||
$tpl->assign('lesVersementsTotaux', $_SESSION['lesVersementsTotaux']);
|
||||
$tpl->assign('plugin_css', ['style.css']);
|
||||
|
||||
// envoyer au template
|
||||
$tpl->display(PLUGIN_ROOT . '/templates/versements_personnes.tpl');
|
||||
Loading…
Add table
Add a link
Reference in a new issue