diff --git a/htdocs/societe/rib.php b/htdocs/societe/rib.php index e0ad760c506..5bb3710c7b5 100644 --- a/htdocs/societe/rib.php +++ b/htdocs/societe/rib.php @@ -416,8 +416,11 @@ if ($socid && $action != 'edit' && $action != "create") $var = !$var; } - if (count($rib_list) == 0) { - print ''.$langs->trans("NoBANRecord").''; + if (count($rib_list) == 0) + { + $colspan=7; + if (! empty($conf->prelevement->enabled)) $colspan++; + print ''.$langs->trans("NoBANRecord").''; } print '';