diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php
index 4ac22405287..c6ad77c7475 100644
--- a/htdocs/compta/bank/class/account.class.php
+++ b/htdocs/compta/bank/class/account.class.php
@@ -1889,7 +1889,7 @@ class Account extends CommonObject
$return .= ''.$langs->trans("Balance").' : '.price(price2num($this->solde(1), 'MT'), 0, $langs, 1, -1, -1, $this->currency_code).'';
}
if (method_exists($this, 'getLibStatut')) {
- $return .= '
| '; + $searchpicto = $form->showFilterAndCheckAddButtons(0); + print $searchpicto; + print ' | '; + } print ''; print ' | '; // Status print ' | '; print $form->selectarray('search_statut', array('-1'=>'', '1'=>$langs->trans('Enabled')), $search_statut, 0, 0, 0, '', 0, 0, 0, '', 'minwidth75imp'); print ' | '; - print ''; - $searchpicto = $form->showFilterAndCheckAddButtons(0); - print $searchpicto; - print ' | '; + // Action column + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + $searchpicto = $form->showFilterAndCheckAddButtons(0); + print $searchpicto; + print ' | '; + } print '
| '; + print ' | |||||
| '; + } + print ' | '; tree_recur($data, $data[0], 0); print ' | '; - print ''; + // Action column + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ' | '; + } print ' | ||