Task #2189: Hisotrique poste : intitulé d'opération
et libellé fiche séparés.
This commit is contained in:
parent
70f91d472c
commit
a1e367cf05
3 changed files with 11 additions and 7 deletions
|
|
@ -565,11 +565,11 @@ class HtmlInput
|
|||
static function card_detail($p_qcode, $pname='', $p_style="",
|
||||
$p_nohistory=false)
|
||||
{
|
||||
//if ($pname=='')$pname=$p_qcode;
|
||||
if ($pname !=='') {$pname='<span class="v-large">('.$pname.')</span>';}
|
||||
$r="";
|
||||
$histo=($p_nohistory==true)?' ,nohistory:1':"";
|
||||
$r.=sprintf('<a href="javascript:void(0)" %s onclick="fill_ipopcard({qcode:\'%s\' %s})">%s [%s]</a>',
|
||||
$p_style, $p_qcode, $histo, $pname, $p_qcode);
|
||||
$r.=sprintf('<a href="javascript:void(0)" %s class="detail" onclick="fill_ipopcard({qcode:\'%s\' %s})">%s %s</a>',
|
||||
$p_style, $p_qcode, $histo, $p_qcode,$pname);
|
||||
return $r;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue