Task #1249 - Recherche dans CUSTOMER , SUPPLIER
#1249 : avoir un champs pour recherche
This commit is contained in:
parent
dbc0c3b280
commit
f7b180b621
7 changed files with 23 additions and 10 deletions
|
|
@ -824,6 +824,17 @@ class HtmlInput
|
|||
return $sel;
|
||||
}
|
||||
}
|
||||
static function filter_table_form($p_table_id,$p_col,$start_row,$p_name,$p_old_value)
|
||||
{
|
||||
$r= "
|
||||
<span>
|
||||
<input id=\"lk_".$p_table_id."\" name=\"$p_name\" value=\"$p_old_value\"autocomplete=\"off\" class=\"input_text\" name=\"filter\" onkeyup=\"filter_table(this, '$p_table_id','$p_col',$start_row )\" type=\"text\">
|
||||
<input type=\"button\" class=\"smallbutton\" onclick=\"$('lk_".$p_table_id."').value='';filter_table($('lk_".$p_table_id."'), '$p_table_id','$p_col',$start_row );\" value=\"X\">
|
||||
</span>
|
||||
";
|
||||
$r.=' <span class="notice" id="info_'.$p_table_id.'"></span>';
|
||||
return $r;
|
||||
}
|
||||
static function filter_table($p_table_id,$p_col,$start_row)
|
||||
{
|
||||
$r= "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue