facturation/www/admin/recu.php

20 lines
336 B
PHP
Raw Normal View History

<?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');