recusfiscaux/www/admin/versements_personnes.php

17 lines
482 B
PHP
Raw Normal View History

<?php
namespace Garradin;
use Garradin\Plugin\RecusFiscaux\Utils;
// liste des versements totaux par personne
$_SESSION['annee_recu'] = f('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');