Ajout des options de configuration pour reçus

This commit is contained in:
Noizette 2020-10-24 03:22:22 +02:00
parent 64dc0d541d
commit b18cd91aa4
10 changed files with 514 additions and 14 deletions

19
www/admin/recu.php Normal file
View file

@ -0,0 +1,19 @@
<?php
namespace Garradin;
$session->requireAccess('compta', Membres::DROIT_ADMIN);
$error = false;
if (isset($_GET['ok']))
{
$error = 'OK';
}
$recus = new Plugin\RecuDon\GenDon;
$trecus = $recus->listSimple();
$tpl->assign('trecus', $trecus);
$tpl->assign('error', $error);
$tpl->display(PLUGIN_ROOT . '/templates/recu.tpl');