Ajout page d'aide

This commit is contained in:
Noizette 2020-10-24 22:51:01 +02:00
parent 5a9c498eee
commit 39dd23151f
11 changed files with 35 additions and 149 deletions

View file

@ -46,6 +46,9 @@ elseif (f('add'))
{
$cotis[$field] = f($field.'_'.$num);
}
$cotis['date'] = date('Y-m-d', $cotis['date']);
$cotis['expiration'] = date('Y-m-d', $cotis['expiration']);
$r = $db->get('SELECT moyen_paiement, montant FROM membres_operations AS mo INNER JOIN compta_journal AS cj ON cj.id = mo.id_operation
WHERE mo.id_cotisation = ?;', (int)$cotis['id']);