Look and feel v16

This commit is contained in:
Laurent Destailleur 2022-06-25 04:18:38 +02:00
parent 14832bb543
commit 15e5488694

View File

@ -995,6 +995,18 @@ while ($i < min($num, $limit)) {
print "</tr>\n";
$i++;
}
// If no record found
if ($num == 0) {
$colspan = 4; // Include the 4 columns of status
foreach ($arrayfields as $key => $val) {
if (!empty($val['checked'])) {
$colspan++;
}
}
print '<tr><td colspan="'.$colspan.'"><span class="opacitymedium">'.$langs->trans("NoRecordFound").'</span></td></tr>';
}
$db->free($resql);
$parameters = array('arrayfields'=>$arrayfields, 'sql'=>$sql);