Force reçu-cotis à rentrer dans les cases + style pdf

This commit is contained in:
Noizette 2020-10-24 22:06:16 +02:00
parent a7b73bf356
commit 5a9c498eee
11 changed files with 691 additions and 62 deletions

View file

@ -98,6 +98,25 @@ if (f('add'))
}
$type = qg('t');
$radio = [];
if (is_numeric($type))
{
switch($type)
{
case 0:
$radio['type'] = 'devis';
break;
case 2:
$radio['type'] = 'cerfa';
break;
case 1:
default:
$radio['type'] = 'facture';
break;
}
}
$tpl->assign('radio', $radio);
$tpl->assign('client_id', f('client') ?: -1);
$tpl->assign('membre_id', f('membre') ?: -1);