#201 add the details
This commit is contained in:
parent
b2978696ae
commit
86da140ad1
2 changed files with 17 additions and 2 deletions
|
|
@ -414,5 +414,16 @@ class HtmlInput
|
|||
$r.=HtmlInput::button('print','Imprimer','onclick="window.print();"');
|
||||
return $r;
|
||||
}
|
||||
/**
|
||||
*show the detail of a card
|
||||
*/
|
||||
static function card_detail($p_qcode,$pname='')
|
||||
{
|
||||
if ($pname=='')$pname=$p_qcode;
|
||||
$r="";
|
||||
$r.=sprintf('<a href="javascript:void(0)" onclick="fill_ipopcard({qcode:\'%s\'})">%s[%s]</a>',
|
||||
$p_qcode,$pname,$p_qcode);
|
||||
return $r;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue