diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index 80bf481e859..611b41eccf1 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -397,15 +397,11 @@ if ($id > 0 || ! empty($ref)) } } - if ($object->canBeConciliated()) - { + if ($object->canBeConciliated() > 0) { // If not cash account and can be reconciliate - if ($user->rights->banque->consolidate) - { - print ''.$langs->trans("Conciliate").''; - } - else - { + if ($user->rights->banque->consolidate) { + print ''.$langs->trans("Conciliate").''; + } else { print ''.$langs->trans("Conciliate").''; } } @@ -529,8 +525,11 @@ if ($id > 0 || ! empty($ref)) print '