Example #1
0
print'<th id="'.$i.'"><input type="text" placeholder="' . $langs->trans("Search Company") . '" /></th>';
$i++;
foreach ($object->fk_extrafields->longList as $aRow)
{
	if($object->fk_extrafields->fields->$aRow->aoColumns->bSearchable = true)
		print'<th id="'.$i.'"><input type="text" placeholder="' . $langs->trans("Search ".$aRow) . '" /></th>';
	else
		print'<th id="'.$i.'"></th>';
	$i++;
}
print'<th id="'.$i.'"><input type="text" placeholder="' . $langs->trans("Search category") . '" /></th>';
$i++;
print'<th id="'.$i.'"><input type="text" placeholder="' . $langs->trans("Search status") . '" /></th>';
$i++;
print'<th id="'.$i.'"></th>';
$i++;
print'</tr>';*/
print '</tfoot>';
print '<tbody>';
print '</tbody>';
print "</table>";
print "</div>";
$obj->bServerSide = true;
$object->datatablesCreate($obj, "societe", true, true);
print end_box();
print '</div>';
// end row
llxFooter();
?>