Force reçu-cotis à rentrer dans les cases + style pdf
This commit is contained in:
parent
a7b73bf356
commit
5a9c498eee
11 changed files with 691 additions and 62 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue