recusfiscaux/www/admin/versements_personnes.php

20 lines
578 B
PHP

<?php
namespace Garradin;
use Garradin\Plugin\RecusFiscaux\Personne;
use Garradin\Plugin\RecusFiscaux\Utils;
$_SESSION['taux_reduction'] = $_POST['taux_reduction'];
// versements par personne
$_SESSION['lesVersements'] = Utils::getVersementsPersonnes($_SESSION['annee_recu'],
$champsNom);
// préparation de l'affichage
$tpl->assign('lesVersements', $_SESSION['lesVersements']);
$tpl->assign('plugin_css', ['style.css']);
// envoyer au template
$tpl->display(PLUGIN_ROOT . '/templates/versements_personnes.tpl');