2022-01-29 15:03:41 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Garradin;
|
|
|
|
|
2022-02-17 10:21:33 +01:00
|
|
|
use Garradin\Plugin\RecusFiscaux\Personne;
|
2022-01-29 15:03:41 +01:00
|
|
|
use Garradin\Plugin\RecusFiscaux\Utils;
|
|
|
|
|
2022-02-19 14:35:13 +01:00
|
|
|
$_SESSION['taux_reduction'] = $_POST['taux_reduction'];
|
2022-02-17 10:21:33 +01:00
|
|
|
|
2022-03-24 19:00:39 +01:00
|
|
|
// versements par personne
|
|
|
|
$_SESSION['lesVersements'] = Utils::getVersementsPersonnes($_SESSION['annee_recu'],
|
|
|
|
$champsNom);
|
2022-01-29 15:03:41 +01:00
|
|
|
|
|
|
|
// préparation de l'affichage
|
2022-03-24 19:00:39 +01:00
|
|
|
$tpl->assign('lesVersements', $_SESSION['lesVersements']);
|
2022-01-29 15:03:41 +01:00
|
|
|
$tpl->assign('plugin_css', ['style.css']);
|
|
|
|
|
|
|
|
// envoyer au template
|
|
|
|
$tpl->display(PLUGIN_ROOT . '/templates/versements_personnes.tpl');
|